Re: [PATCH 3/3] grep: stop looking at random places for .gitattributes
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 11, 2012, 05:55 UTC
- Message-ID
- <50765F34.1070108@viscovery.net>
- In-Reply-To
- <7vy5jeaz81.fsf@alter.siamese.dyndns.org>
Am 10/10/2012 21:44, schrieb Junio C Hamano:
Show 7 quoted lines
> Johannes Sixt <j.sixt@viscovery.net> writes: > >> Is there already an established definition which the "correct" >> .gitattributes are? > > No, and it is deliberately kept vague while waiting for us to come > up with a clear definition of what is "correct".
...
> Very often, people > retroactively define attributes to correct earlier mistakes.
Absolutely. I have Windows resource files that are Shift-JIS encoded checked in long ago, and I want to retoactively declare them with "encoding=Shift-JIS" because I prefer to see Japanese script in gitk rather than gibberish.
-- Hannes