Re: CRLF problems with Git on Win32
- From
- Linus Torvalds <torvalds-de/tnxtf+jlsfhdxvbkv3wd2fqjk+8+b@public.gmane.org>
- Date
- Jan 9, 2008, 00:01 UTC
- Message-ID
- <alpine.LFD.1.00.0801081601180.3148@woody.linux-foundation.org>
- 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