[PATCH] archive: clarify explanation of --worktree-attributes
- From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Apr 10, 2013, 17:49 UTC
- Message-ID
- <5165A645.9090300@lsrfire.ath.cx>
- In-Reply-To
- <7vk3obpfwc.fsf@alter.siamese.dyndns.org>
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 ($PDW). 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> --- Does this help a bit?
Documentation/git-archive.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index b4c2e24..3dd3069 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -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.
-- 1.8.2.1