archive: clarify explanation of --worktree-attributes
Make it a bit clearer that --worktree-attributes is about files in the working tree (checked out files, possibly changed) and not the current working directory ($PWD). Link to the ATTRIBUTES section, which has more details. Reported-by: Amit Bakshi <ambakshi@gmail.com> Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
René Scharfe committed
Apr 10, 2013 at 19:49 UTC
59a7714c8909f1a925a7faa4f3015f015c087ee5
1 file changed
+3
-1
Documentation/git-archive.txt
+3
-1
@@ -56,7 +56,8 @@ OPTIONS
56
Write the archive to <file> instead of stdout.
57
58
--worktree-attributes::
59
- Look for attributes in .gitattributes in working directory too.
59
+ Look for attributes in .gitattributes files in the working tree
60
+ as well (see <<ATTRIBUTES>>).
61
62
<extra>::
63
This can be any options that the archiver backend understands.
@@ -120,6 +121,7 @@ tar.<format>.remote::
121
user-defined formats, but true for the "tar.gz" and "tgz"
122
formats.
123
124
+[[ATTRIBUTES]]
125
ATTRIBUTES
126
----------
127