Re: diff: use built-in patterns by default via git attributes

2014-12-09 Thread Jeff King
On Tue, Dec 09, 2014 at 09:18:30PM +0100, Daniel Hahler wrote: > I'm wondering why the built-in patterns (defined in userdiff.c) are not > being applied by default, e.g. what you would normally do in > core.attributesfile via: > > *.py diff=python > > Wouldn't it make sense to provide certai

diff: use built-in patterns by default via git attributes

2014-12-09 Thread Daniel Hahler
Hi, I'm wondering why the built-in patterns (defined in userdiff.c) are not being applied by default, e.g. what you would normally do in core.attributesfile via: *.py diff=python Wouldn't it make sense to provide certain defaults for attributes, where Git provides enhanced patterns? Regard