Re: git-archive --worktree-attributes (1.8.2)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 9, 2013, 21:12 UTC
- Message-ID
- <7vk3obpfwc.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAFGOX=VXifkn4oNkqLLF_WG5Dzf4rjd15EV7C=9a_H9CTM+w2Q@mail.gmail.com>
Amit Bakshi <ambakshi@gmail.com> writes:
Show 7 quoted lines
> Hi, > > In the help for git-archive it states: > > --worktree-attributes > Look for attributes in .gitattributes in working directory too. > ...
The worktree-attributes should read from the worktree. It should not pay any attention to where you are in the directory hierarchy, i.e. your current working directory (aka $cwd).
> Would you accept a patch that either adds an option to explicitly set > the .gitattributes file or would let --worktree-attributes look in > $PWD.
The former, possibly, if accompanied with a good justification and implemented cleanly.
The latter, definitely not.