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! -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html