Re: [PATCH 3/3] grep: stop looking at random places for .gitattributes
On Wed, Oct 10, 2012 at 7:43 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 9 quoted lines
> Am 10/10/2012 14:32, schrieb Nguyen Thai Ngoc Duy:
>> git-archive has --worktree-attributes to specify where attributes come
>> from. Sparse checkout can choose to read index version first then
>> worktree's or the other way around. All normal operations read
>> worktree version, if not found index version.
>
> So, even if I run 'git diff master~2000 master~1999', it uses the
> attributes from the worktree, and if not found from the index? (I would
> not mind, BTW.)
Yes. Tested and verified.
--
Duy