Skip to content

Commit

Permalink
archive: clarify explanation of --worktree-attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
René Scharfe authored and Junio C Hamano committed Apr 12, 2013
1 parent 13cb3bb commit 59a7714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/git-archive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -120,6 +121,7 @@ tar.<format>.remote::
user-defined formats, but true for the "tar.gz" and "tgz"
formats.

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

Expand Down

0 comments on commit 59a7714

Please sign in to comment.