<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Windows Git Tip: Hide ^M (Carriage Return) in Diff</title>
	<atom:link href="http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/</link>
	<description>Git, .NET and more</description>
	<lastBuildDate>Mon, 01 Apr 2013 17:24:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: michel memeteau</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-126</link>
		<dc:creator>michel memeteau</dc:creator>
		<pubDate>Tue, 13 Nov 2012 13:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-126</guid>
		<description>Well we use 
core.autocrlf = true just because we have people developing on Windows with different Editors</description>
		<content:encoded><![CDATA[<p>Well we use <br />
core.autocrlf = true just because we have people developing on Windows with different Editors</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billdav</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-112</link>
		<dc:creator>billdav</dc:creator>
		<pubDate>Sat, 17 Mar 2012 03:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-112</guid>
		<description>I don&#039;t use git on Windows.  I installed it on my Windows box a while back just in case I ever want to use it.

In Linux, git defaults to autocrlf = false.  I&#039;m a little surprised that Windows has a different default there.  It may have something to do with whomever built the package.  I don&#039;t have enough motivation to track it down.  Which package are you using?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use git on Windows.  I installed it on my Windows box a while back just in case I ever want to use it.</p>
<p>In Linux, git defaults to autocrlf = false.  I&#8217;m a little surprised that Windows has a different default there.  It may have something to do with whomever built the package.  I don&#8217;t have enough motivation to track it down.  Which package are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dahlby</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-111</link>
		<dc:creator>Keith Dahlby</dc:creator>
		<pubDate>Sat, 17 Mar 2012 03:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-111</guid>
		<description>I guess I used Subversion for years without knowing it was doing EOL conversion. That&#039;s how it should be. In Git it&#039;s front and center for users on Windows, to its detriment.</description>
		<content:encoded><![CDATA[<p>I guess I used Subversion for years without knowing it was doing EOL conversion. That&#8217;s how it should be. In Git it&#8217;s front and center for users on Windows, to its detriment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billdav</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-110</link>
		<dc:creator>billdav</dc:creator>
		<pubDate>Sat, 17 Mar 2012 03:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-110</guid>
		<description>Apparently you aren&#039;t familiar with SVN or Perforce.  Mercurial has an extension available.</description>
		<content:encoded><![CDATA[<p>Apparently you aren&#8217;t familiar with SVN or Perforce.  Mercurial has an extension available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dahlby</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-109</link>
		<dc:creator>Keith Dahlby</dc:creator>
		<pubDate>Sat, 17 Mar 2012 01:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-109</guid>
		<description> &quot;as it should be&quot; strikes me as odd given that Git is the only VCS that touches line endings. That said, I&#039;m settling on &quot;input&quot; for cross-platform projects and &quot;false&quot; for Windows-only projects.</description>
		<content:encoded><![CDATA[<p> &#8221;as it should be&#8221; strikes me as odd given that Git is the only VCS that touches line endings. That said, I&#8217;m settling on &#8220;input&#8221; for cross-platform projects and &#8220;false&#8221; for Windows-only projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billdav</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-108</link>
		<dc:creator>billdav</dc:creator>
		<pubDate>Fri, 16 Mar 2012 19:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-108</guid>
		<description>I prefer &quot;input&quot; because it keeps the repository Unix style, as it should be.

All IDE&#039;s that I am aware of as well as most text editors other than notepad work just fine without carriage returns at the end of lines.  I don&#039;t want developers on my project if they&#039;re going to use notepad to edit files.</description>
		<content:encoded><![CDATA[<p>I prefer &#8220;input&#8221; because it keeps the repository Unix style, as it should be.</p>
<p>All IDE&#8217;s that I am aware of as well as most text editors other than notepad work just fine without carriage returns at the end of lines.  I don&#8217;t want developers on my project if they&#8217;re going to use notepad to edit files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Port Forward Podcast</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-99</link>
		<dc:creator>Port Forward Podcast</dc:creator>
		<pubDate>Thu, 13 Oct 2011 03:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-99</guid>
		<description>Don&#039;t forget that if your on Ubuntu Linux you can just change the line endings yourself and verify that your code still compiles.

to remove ^M (extra CR)  run this command:
fromdos file.txt


to add CR back
todos file.txt

Ubunu todos/fromdos are the commands, however other distros use dos2unix, unix2dos

-Ben of http://portforwardpodcast.com/</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget that if your on Ubuntu Linux you can just change the line endings yourself and verify that your code still compiles.</p>
<p>to remove ^M (extra CR)  run this command:<br />
fromdos file.txt</p>
<p>to add CR back<br />
todos file.txt</p>
<p>Ubunu todos/fromdos are the commands, however other distros use dos2unix, unix2dos</p>
<p>-Ben of http://portforwardpodcast.com/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acolin</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-87</link>
		<dc:creator>acolin</dc:creator>
		<pubDate>Mon, 27 Jun 2011 16:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-87</guid>
		<description>&gt; P.S. Do you know how to configure VS to use unix line endings?
Strip&#039;em addin for VS helps: http://grebulon.com/software/stripem.php
However, when VS writes .csproj and .sln files (and probably others), the hook used by this plugin seems to not get called, so I just dos2unix -U on those files manually.</description>
		<content:encoded><![CDATA[<p>&gt; P.S. Do you know how to configure VS to use unix line endings?<br />
Strip&#8217;em addin for VS helps: <a href="http://grebulon.com/software/stripem.php" rel="nofollow">http://grebulon.com/software/stripem.php</a><br />
However, when VS writes .csproj and .sln files (and probably others), the hook used by this plugin seems to not get called, so I just dos2unix -U on those files manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuriy</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-85</link>
		<dc:creator>Yuriy</dc:creator>
		<pubDate>Mon, 11 Apr 2011 21:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-85</guid>
		<description>Python and some other la huger require correct line endings. If you need to run the same scripts on different platforms you have nochoice other than checkout with latgrm style line ends and vmit in unix syyle.  </description>
		<content:encoded><![CDATA[<p>Python and some other la huger require correct line endings. If you need to run the same scripts on different platforms you have nochoice other than checkout with latgrm style line ends and vmit in unix syyle.  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Dahlby</title>
		<link>http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/#comment-83</link>
		<dc:creator>Keith Dahlby</dc:creator>
		<pubDate>Fri, 08 Apr 2011 12:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/keithdahlby/?p=40#comment-83</guid>
		<description>10% overall, perhaps, but much higher among developers and higher still among those using Git.

I&#039;ve never tried to set VS to use unix line endings, but I also view VS projects as single-platform. Maybe if I did work on Mono I would change my tune...we&#039;ll see. For cross-platform stuff (JS projects, for example), I&#039;m more likely to use another editor anyway.</description>
		<content:encoded><![CDATA[<p>10% overall, perhaps, but much higher among developers and higher still among those using Git.</p>
<p>I&#8217;ve never tried to set VS to use unix line endings, but I also view VS projects as single-platform. Maybe if I did work on Mono I would change my tune&#8230;we&#8217;ll see. For cross-platform stuff (JS projects, for example), I&#8217;m more likely to use another editor anyway.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
