<html><body><div style="color:#000; background-color:#fff, font-family:arial, helvetica, sans-serif;font-size:12pt">The issue is that the default install of the git client (on windows I think) tries to do something clever with newlines and then ends up claiming you have vast changes (due to the different newlines).  Look through Walter's prior messages on this mailing list.<br><br>-Steve<br class="yui-cursor"><span></span><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: inherit; font-size: 12pt;"><br><div style="font-family: inherit; font-size: 12pt;"><font face="Arial" size="2"><div style="border: 1px solid rgb(204, 204, 204); line-height: 0pt; font-size: 0pt; margin: 5px 0px; padding: 0pt;" readonly="true" class="hr" contenteditable="false"></div><b><span style="font-weight: bold;">From:</span></b> David Simcha <dsimcha@gmail.com><br><b><span style="font-weight:
 bold;">To:</span></b> Discuss the phobos library for D <phobos@puremagic.com><br><b><span style="font-weight: bold;">Cc:</span></b> <br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 26, 2011 2:37 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [phobos] The time has come to destroy all y'all over CR/LF<br></font><br> 
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv682654707">Forgive my ignorance, but why is this such a big issue?  Shouldn't any decent programmer tool (diff utility, editor, IDE, etc.) be able to interpret CR, LF and CR LF as effectively meaning the same thing and do what you mean?  In the context of source code noone ever wants to go to the beginning of the current line.  The only time it can become ambiguous is when a CR LF was actually produced by two different edits with different settings (and is therefore supposed to mean two newlines, not one) and even then it only mildly screws up the whitespace.<br>
<br>Bottom line: I fail to see why different line endings should be such an issue in the first place, unless we're using some overly strict or Stone Age tool that favors absolute adherence to some specification over common sense.  In such cases it's more the tool that's the problem, not the source file.  I don't give a hoot which line ending anyone uses, because all my tools seem to "just work" regardless, and I have absolutely no clue what line ending my IDE is set up to use because I don't understand why it really matters in practice.<br>
<br><div class="yiv682654707gmail_quote">On Wed, Jan 26, 2011 at 2:18 PM, Walter Bright <span dir="ltr"><<a rel="nofollow" ymailto="mailto:walter@digitalmars.com" target="_blank" href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>></span> wrote:<br><blockquote class="yiv682654707gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="yiv682654707im"><br>
<br>
Andrei Alexandrescu wrote:<br>
<blockquote class="yiv682654707gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
So CR alone should be available as "go to the beginning of the current line". LF alone should mean "go to the beginning of the next line". And that should be it. Unix got this right. CP/M et al got this wrong.<br>

<br>
</blockquote>
<br></div>
CP/M did not invent that meaning for LF. LF goes back decades earlier than CP/M.<br>
<br>
In the early 80's, unix wasn't seen much. The best systems were the DEC computers, and a lot of software professionals expected DEC to become the dominant player. DEC operating systems were widely seen as the best. (IBM was still mired in their ridiculous EBCDIC encoding.)<br>

<br>
I suspect that unix and its conventions would be dead by now if not for Linux.<div><div></div><div class="yiv682654707h5"><br>
_______________________________________________<br>
phobos mailing list<br>
<a rel="nofollow" ymailto="mailto:phobos@puremagic.com" target="_blank" href="mailto:phobos@puremagic.com">phobos@puremagic.com</a><br>
http://lists.puremagic.com/mailman/listinfo/phobos<br>
</div></div></blockquote></div><br>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br></div></div></blockquote></div><br></body></html>