Re: [PATCH] archive: document --prefix handling of absolute and parent paths
On Wed, Apr 08, 2026 at 04:00:06PM +0000, Pushkar Singh wrote:
Show 8 quoted lines
> Prepend <prefix>/ to paths in the archive. Can be repeated; its
> rightmost value is used for all tracked files. See below which
> value gets used by `--add-file`.
> ++
> +The <prefix> is used as given and is not normalized. It may
> +include leading slashes or parent directory components (e.g.,
> +`../`). Some archive consumers may treat such paths as
> +potentially unsafe and adjust or warn during extraction.
Thanks, this reads fine to me.
-Peff