Reverse use of GIT bisect

Here is an interesting post on how to make reverse use of GIT bisect to find fix-introducing commits instead of fault-introducing commits. (The link is broken, but the original post can be found at archive.org.) What it boils down to is this:

Since git bisect was designed to find regressions, we need to flip the meanings of “bad” and “good” in order to use it to find a fix.

It seems to me that using this would be helpful for anyone wanting to use the regression test selection (RTS) method we introduced a few years back.

Check my publications page for more details.

Update 2014-01-01: this reverse use of GIT bisect has recently been covered on stackoverflow.

About Greger Wikstrand

Greger Wikstrand, Ph.D. M.Sc. is a TOGAF 9 certified enterprise architect with an interest in e-heatlh, m-health and all things agile as well as processes, methods and tools. Greger Wikstrand works as a consultant at Capgemini where he alternates between enterprise agile coaching, problem solving and designing large scale e-health services ...

Leave a Reply