Re: Quick question: end of lines
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 28, 2006, 20:07 UTC
- Message-ID
- <Pine.LNX.4.63.0602282101530.10710@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <f898cca90602281032n6603bf14q@mail.gmail.com>
Hi,
On Tue, 28 Feb 2006, Emmanuel Guerin wrote:
> Is it possible to checkout sources out of the GIT repository with > Windows style end of lines?
No.
As far as git is concerned, every versioned file is equal. IMHO this decision is good, since
- different handling is more complicated (you have to keep track of the file type), and - it is not really worth doing.
Windows can handle Unix line endings quite properly (with the notable exception of notepad.exe), and even Apple has learnt that it might be a stupid idea to insist on being different when it's just not worth it.
The only reason I would accept: you have to work with MS-DOS tools. But even in this case, I'd rather write a wrapper which converts to DOS line endings, executes the tool, and converts back.
Hth, Dscho