From: Avery Pennarun Date: Fri, 07 May 2010 20:06:45 GMT Subject: Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization Message-ID: In-Reply-To: <20100507194140.GC7963@pvv.org> On Fri, May 7, 2010 at 3:41 PM, Finn Arne Gangstad wrote: > Maybe it is sufficient to add a new value to "crlf" that means: > > - If the file is autodetected as text: >  - Convert to LF only on commit, and >  - Convert to your preferred EOL style on checkout. > > I don't think autocrlf is a good place to specify preferred EOL > style, it is too dangerous to set autocrlf to true by default, but it should > not be dangerous to say that your preferred EOL style is CRLF. Assuming it's updated to reuse the existing crlf attribute instead of adding a new one, that seems to be exactly what this patch series is about. "Your preferred EOL style" is the newly introduced core.eolStyle config option. So... good idea :) Have fun, Avery