Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization
On 7. mai 2010, at 21.11, Avery Pennarun wrote:
Show 12 quoted lines
> On Fri, May 7, 2010 at 3:02 PM, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>> Btw, another option might be to start searching ".gitconfig", but only
>> allow a certain "safe subset" of config options in that. Things that can
>> really be about the project itself, and not per-user or per-repository.
>> [...]
>> Things like
>>
>> core.autocrlf
>> i18n.commitEnconfig
>
> Unfortunately this option wouldn't be as flexible as Eyvind's current proposal.
Thanks for the support!
My objection to this idea is more practical: I suspect that parsing .gitconfig from the repository would be a lot more work than my simple hack :)
--
Eyvind