From: Junio C Hamano Date: Tue, 09 Apr 2013 21:12:35 GMT Subject: Re: git-archive --worktree-attributes (1.8.2) Message-ID: <7vk3obpfwc.fsf@alter.siamese.dyndns.org> In-Reply-To: Amit Bakshi writes: > 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.