From: Adam Borowski Date: Fri, 16 Dec 2011 20:09:55 GMT Subject: Re: [BUG] attribute "eol" with "crlf" Message-ID: <20111216200955.GA8499@angband.pl> In-Reply-To: On Fri, Dec 16, 2011 at 07:28:22PM +0100, Ralf Thielow wrote: > > What behavior would you have expected? > > I've expected that git doesn't change the line endings > because it's already CRLF. And how exactly can it change the file back the way it was? s/\n/\r\n/g is roundtrippable, s/\r?\n/\r\n/g is not. -- 1KB // Yo momma uses IPv4!