From: Eyvind Bernhardsen Date: Fri, 07 May 2010 21:17:02 GMT Subject: Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization Message-ID: <384AA932-227B-43B0-9D38-560A3567918A@gmail.com> In-Reply-To: On 7. mai 2010, at 22.57, Linus Torvalds wrote: > 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