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>
This commit is contained in:
René Scharfe 2013-04-10 19:49:57 +02:00 коммит произвёл Junio C Hamano
Родитель 13cb3bb7e6
Коммит 59a7714c89
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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
----------