<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Rockstar Programmer - Latest Comments in RockStarProgrammer - Automating Git Bisection for Rails Apps</title><link>http://rsp.disqus.com/</link><description></description><atom:link href="https://rsp.disqus.com/rockstarprogrammer_automating_git_bisection_for_rails_apps/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 23 Mar 2010 01:54:19 -0000</lastBuildDate><item><title>Re: RockStarProgrammer - Automating Git Bisection for Rails Apps</title><link>http://www.rockstarprogrammer.org/post/2008/sep/25/automating-git-bisection-rails-apps/#comment-41171792</link><description>&lt;p&gt;progamming may look so comlicated but ones you get the hang of it then you will be good as an addict...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Motorhomes</dc:creator><pubDate>Tue, 23 Mar 2010 01:54:19 -0000</pubDate></item><item><title>Re: RockStarProgrammer - Automating Git Bisection for Rails Apps</title><link>http://www.rockstarprogrammer.org/post/2008/sep/25/automating-git-bisection-rails-apps/#comment-40426533</link><description>&lt;p&gt;this gives me headache...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Canvas Stretching Machine</dc:creator><pubDate>Thu, 18 Mar 2010 22:22:29 -0000</pubDate></item><item><title>Re: RockStarProgrammer - Automating Git Bisection for Rails Apps</title><link>http://www.rockstarprogrammer.org/post/2008/sep/25/automating-git-bisection-rails-apps/#comment-2715804</link><description>&lt;p&gt;Hey, great idea.  That seems a lot less messy than my stash script.  Thanks.&lt;/p&gt;&lt;p&gt;Basically, that'd be something like this (assuming working on master with a bug that didn't exist about 50 changesets back):&lt;/p&gt;&lt;p&gt;git checkout -b findbug&lt;br&gt;[write and commit tests]&lt;br&gt;git rebase -i HEAD~51&lt;br&gt;[move test changeset to the top]&lt;/p&gt;&lt;p&gt;Then you should be able to do the easy case as described above.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dustin</dc:creator><pubDate>Sun, 28 Sep 2008 12:33:47 -0000</pubDate></item><item><title>Re: RockStarProgrammer - Automating Git Bisection for Rails Apps</title><link>http://www.rockstarprogrammer.org/post/2008/sep/25/automating-git-bisection-rails-apps/#comment-2667749</link><description>&lt;p&gt;Protip: if you need to go back in time to find a bug, but the test isn't there, you can easily rebase it back into the tree in the past, and then discard that branch later. Saves having to write a script for it.&lt;/p&gt;&lt;p&gt;This also works with integration testing, so you can track down your HTTP bug with the same test you use to prevent regression in the future (needless to say you need to write regression tests either way...)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin George</dc:creator><pubDate>Sun, 28 Sep 2008 03:49:36 -0000</pubDate></item></channel></rss>