Re: mingw, windows, crlf/lf, and git
- From
- David Lang <david.lang@digitalinsight.com>
- Date
- Feb 13, 2007, 23:19 UTC
- Message-ID
- <Pine.LNX.4.63.0702131518290.8035@qynat.qvtvafvgr.pbz>
- In-Reply-To
- <20070213204248.GA21046@uranus.ravnborg.org>
On Tue, 13 Feb 2007, Sam Ravnborg wrote:
Show 13 quoted lines
> > I wonder what we are really trying to address here. Or in other words > could the original poster maybe tell what Windows IDE's that does > not handle UNIX files properly? > > core git today should not care about CRLF as opposed to LF end-of-line > as long as the end-of-line is consistent - correct? > > So defaulting to autoCRLF in Windows/DOS environments was maybe > sane 10 years ago but today that seems to be the wrong thing to do. > For certain project the option could be useful if the tool-set in > the project *requires* CRLF, but if the toolset like all modern toolset > supports both CRLF and LF then git better avoid changing end-of-line marker.
I've actually run into grief on this subject with perl scripts within the last year (files from windows systems with crlf not working cleanly on a linux system with just lf)
this is real, not just historic
David Lang