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>
maint
René Scharfe 2013-04-10 19:49:57 +02:00 committed by Junio C Hamano
parent 13cb3bb7e6
commit 59a7714c89
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,8 @@ OPTIONS
Write the archive to <file> instead of stdout.

--worktree-attributes::
Look for attributes in .gitattributes in working directory too.
Look for attributes in .gitattributes files in the working tree
as well (see <<ATTRIBUTES>>).

<extra>::
This can be any options that the archiver backend understands.
@ -120,6 +121,7 @@ tar.<format>.remote::
user-defined formats, but true for the "tar.gz" and "tgz"
formats.

[[ATTRIBUTES]]
ATTRIBUTES
----------