Re: mingw, windows, crlf/lf, and git
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 14, 2007, 16:37 UTC
- Message-ID
- <Pine.LNX.4.64.0702140835440.3604@woody.linux-foundation.org>
- In-Reply-To
- <200702141736.57521.litvinov2004@gmail.com>
On Wed, 14 Feb 2007, Alexander Litvinov wrote:
> > I just tried this patch and it works! From now I can use git-cvsimport under > Linux and then clone it to cygwin and work there with full history. Nice, > very nice.
Btw, it didn't do any commit message conversion etc, so you'll still always see commit messages with LF-only, and if you _create_ commits, you need to make sure that whatever program you use will do the right thing.
> In my case text file detection work well as far most of our files > are .cpp and .h
Yeah, considering that it worked in my testing for "git" itself, I'm not surprised. Source code tends to look the same..
Linus