<?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: On feet and sniper rifles</title>
	<atom:link href="http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/</link>
	<description>Making your brain invert and fall out of your ear since 2007</description>
	<lastBuildDate>Tue, 11 Aug 2009 14:52:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Carr</title>
		<link>http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/comment-page-1/#comment-149</link>
		<dc:creator>John Carr</dc:creator>
		<pubDate>Sun, 21 Sep 2008 08:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/#comment-149</guid>
		<description>@Anonymous Coward: Cool, thats not so bad then. Reading the man pages this has not always been the case (there is a command to fix stale refs, and it mentions pruning is now reflog aware) - any idea when they fixed it? 

Also, do you have any ninja jitsu for sifting through the reflog for my missing chunks? (For future reference). I guess git reflog --stat would be a start.. So I could see which entries are related to the files I screwed up.</description>
		<content:encoded><![CDATA[<p>@Anonymous Coward: Cool, thats not so bad then. Reading the man pages this has not always been the case (there is a command to fix stale refs, and it mentions pruning is now reflog aware) &#8211; any idea when they fixed it? </p>
<p>Also, do you have any ninja jitsu for sifting through the reflog for my missing chunks? (For future reference). I guess git reflog &#8211;stat would be a start.. So I could see which entries are related to the files I screwed up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/comment-page-1/#comment-145</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 21 Sep 2008 00:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/#comment-145</guid>
		<description>@John: No, git gc would not remove the history because the reflog still has a reference to it.  Only once it expired from the reflog would git gc remove it.</description>
		<content:encoded><![CDATA[<p>@John: No, git gc would not remove the history because the reflog still has a reference to it.  Only once it expired from the reflog would git gc remove it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Carr</title>
		<link>http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/comment-page-1/#comment-144</link>
		<dc:creator>John Carr</dc:creator>
		<pubDate>Sat, 20 Sep 2008 20:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/#comment-144</guid>
		<description>Ah, technically I didn&#039;t lose history (I tried not to say that I had..). I still consider this a shot myself in the foot though.

Essentially i was reviewing the same set of 12 commits over and over again. At some point i did git reset HEAD, made some changes and produced 2 commits from one, but failed to git add some files. I edited the series some more and at some point had to remove some stray header files that were interfering with gtk-doc. Little did I realise that these were the freshly unversioned history. Then i edited some more. All of a sudden, make distcheck on HEAD was failing. I realise my mistake, the headers i just deleted were from a commit i cocked up. ARRRGH.

(There was a secondary cockup that I can&#039;t even explain what happened).

At this point, my tree is small enough and my hacking recent enough that I can reconstruct everything easily, but otherwise its a case of looking through the reflog. It all looks a bit.. &quot;You will be punished for being a noob&quot;.

But I mean, if I&#039;d git gc&#039;d the history would be gone, right? Or if I&#039;d gone over 50 commits I&#039;d have triggered an auto gc and this would be gone. It kind of feels like I&#039;m sifting through the debris that is only still around as a by-product of the original design rather than some desire for you not to loose history....</description>
		<content:encoded><![CDATA[<p>Ah, technically I didn&#8217;t lose history (I tried not to say that I had..). I still consider this a shot myself in the foot though.</p>
<p>Essentially i was reviewing the same set of 12 commits over and over again. At some point i did git reset HEAD, made some changes and produced 2 commits from one, but failed to git add some files. I edited the series some more and at some point had to remove some stray header files that were interfering with gtk-doc. Little did I realise that these were the freshly unversioned history. Then i edited some more. All of a sudden, make distcheck on HEAD was failing. I realise my mistake, the headers i just deleted were from a commit i cocked up. ARRRGH.</p>
<p>(There was a secondary cockup that I can&#8217;t even explain what happened).</p>
<p>At this point, my tree is small enough and my hacking recent enough that I can reconstruct everything easily, but otherwise its a case of looking through the reflog. It all looks a bit.. &#8220;You will be punished for being a noob&#8221;.</p>
<p>But I mean, if I&#8217;d git gc&#8217;d the history would be gone, right? Or if I&#8217;d gone over 50 commits I&#8217;d have triggered an auto gc and this would be gone. It kind of feels like I&#8217;m sifting through the debris that is only still around as a by-product of the original design rather than some desire for you not to loose history&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elijah Newren</title>
		<link>http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/comment-page-1/#comment-142</link>
		<dc:creator>Elijah Newren</dc:creator>
		<pubDate>Sat, 20 Sep 2008 19:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johncarr/2008/09/20/on-feet-and-sniper-rifles/#comment-142</guid>
		<description>Ah, you can&#039;t leave us hanging like that.  We want to know what mistake you made.

I&#039;m pretty curious because I find it incredibly difficult in git to lose any recorded history at all.  Even when editing history in git, the original version is still around and available via the reflog for a very long time (granted, not everyone knows about the reflog).  It is easy to lose data in the working copy that hasn&#039;t been committed yet (git reset --hard, git stash &amp;&amp; git stash clear, probably others...), but you said it had to do with history editing.

Fun post, though.  :-)</description>
		<content:encoded><![CDATA[<p>Ah, you can&#8217;t leave us hanging like that.  We want to know what mistake you made.</p>
<p>I&#8217;m pretty curious because I find it incredibly difficult in git to lose any recorded history at all.  Even when editing history in git, the original version is still around and available via the reflog for a very long time (granted, not everyone knows about the reflog).  It is easy to lose data in the working copy that hasn&#8217;t been committed yet (git reset &#8211;hard, git stash &amp;&amp; git stash clear, probably others&#8230;), but you said it had to do with history editing.</p>
<p>Fun post, though.  <img src='http://blogs.gnome.org/johncarr/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
