From: Linus Torvalds Date: Wed, 09 Jan 2008 00:01:58 GMT Subject: Re: CRLF problems with Git on Win32 Message-ID: In-Reply-To: <20080108225138.GA23240-EQL4cN526mwi5CQI31g/s0B+6BGkLq7r@public.gmane.org> On Wed, 9 Jan 2008, Dmitry Potapov wrote: > > It seems the check for named LF should be: > if (safecrlf && stats.lf == stats.crlf) No. If there was a crlf, then we won't increment the lf count. (Not that I tested it, but that's how it was supposed to work) Linus