<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dragffy.com &#187; Git</title>
	<atom:link href="http://dragffy.com/blog/posts/category/revision-control/git/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Using SSHFS with Bazaar (Bzr) or Git</title>
		<link>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git</link>
		<comments>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git#comments</comments>
		<pubDate>Thu, 04 Jun 2009 11:00:36 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Bazaar]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=128</guid>
		<description><![CDATA[I use SSHFS to mount remote drives locally. The remote computers don&#8217;t have Bzr installed, and it&#8217;s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and [...]]]></description>
			<content:encoded><![CDATA[<p>I use SSHFS to mount remote drives locally. The remote computers don&#8217;t have Bzr installed, and it&#8217;s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and Bzr, this is because (I believe) SSHFS doesn&#8217;t directly support file renaming. It is possible to avoid these problems by using the <code>-oworkaround=rename</code> switch with the mount command.</p>
<p>As an example my mount command looks similar to this:<br />
<code>sshfs -oworkaround=rename user@computer1:/var/www /media/computer1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git errors on Cygwin</title>
		<link>http://dragffy.com/blog/posts/git-errors-on-cygwin</link>
		<comments>http://dragffy.com/blog/posts/git-errors-on-cygwin#comments</comments>
		<pubDate>Tue, 16 Sep 2008 09:35:50 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=64</guid>
		<description><![CDATA[I&#8217;ve recently started experimenting with Git, previously being totally committed(!) to Bazaar. Git is difficult in comparison but I intend to stick with it. I have been using Git under Cygwin on Windows XP, it seemed to work fairly well except that often when I added a large batch of source code files they wouldn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started experimenting with Git, previously being totally committed(!) to Bazaar. Git is difficult in comparison but I intend to stick with it. I have been using Git under Cygwin on Windows XP, it seemed to work fairly well except that often when I added a large batch of source code files they wouldn&#8217;t get committed.</p>
<p>Eventually I found out it is because Git is choking on one the line endings in some files. When trying a commit of these files I would see a whole load of errors fly by such as &#8216;trailing whitespace&#8217; and &#8220;you have some suspicious patch lines&#8221;. Googling around I found three answers, but I could only fully understand two of them.</p>
<p>Firstly, the approach I took, was to run the command <code>chmod a-x .git/hooks/pre-commit</code> in the git repository.</p>
<p>The other approach, which I found <a href="http://www.dont-panic.cc/capi/2007/07/13/git-on-windows-you-have-some-suspicious-patch-lines/">here</a> says to edit the pre-commit file above and comment out the lines:<br />
<code>if (/\s$/) {<br />
bad_line("trailing whitespace", $_);<br />
}</code></p>
<p>Which would mean changing it to:<br />
<code>#if (/\s$/) {<br />
#bad_line("trailing whitespace", $_);<br />
#}</code></p>
<p>Hope that can help someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/git-errors-on-cygwin/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

