mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-10 08:22:54 -05:00
Merge branch 'ps/archive-prefix-doc' into next
Doc update. * ps/archive-prefix-doc: archive: document --prefix handling of absolute and parent paths
This commit is contained in:
@@ -54,6 +54,11 @@ OPTIONS
|
||||
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.
|
||||
|
||||
-o <file>::
|
||||
--output=<file>::
|
||||
|
||||
Reference in New Issue
Block a user