Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization
On 7. mai 2010, at 22.57, Linus Torvalds wrote:
Show 7 quoted lines
> On Fri, 7 May 2010, Eyvind Bernhardsen wrote:
>>
>> How can you say that this is simpler than my syntax?
>
> Because your syntax adds totally new attributes, so now you can't even
> take an existing .gitattributes and make it do something sane - instead
> you have to write totally new rules.
I don't understand. All you have to do is add "* auto-eol=true" to your .gitattributes, and line endings will be normalized exactly as if you'd set "core.autocrlf". Why would you have to write totally new rules? Which rules?
> My suggestion just makes any existing usage do the "what you'd expect".
>
> THAT is simpler.
Well, sort of, but "simple for someone who already knows how core.autocrlf works" isn't what I'm aiming for :)
--
Eyvind