Skip to content

Commit 165ca62

Browse files
René Scharfegitster
authored andcommitted
archive: clarify description of path parameter
Mention that path parameters are based on the current working directory. Signed-off-by: Rene Scharfe <[email protected]> -- Documentation/git-archive.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Junio C Hamano <[email protected]>
1 parent e5f5917 commit 165ca62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-archive.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ OPTIONS
7474
The tree or commit to produce an archive for.
7575

7676
path::
77-
If one or more paths are specified, include only these in the
78-
archive, otherwise include all files and subdirectories.
77+
Without an optional path parameter, all files and subdirectories
78+
of the current working directory are included in the archive.
79+
If one or more paths are specified, only these are included.
7980

8081
BACKEND EXTRA OPTIONS
8182
---------------------

0 commit comments

Comments
 (0)