git-first-parent-bisect
I just open sourced git-first-parent-bisect
.
This is something that I’ve wanted for so long but didn’t think was actually possible to do until I found this StackOverflow answer.
I clearly had a use for such a script otherwise I wouldn’t have been searching for thatso I whipped up a hacky version of it and let it loose on the bug I was facing.
Sure enough, it took me straight to the offending branch and allowed me to root cause how the bug was introduced.
This script doesn’t have many miles under its belt but it has worked well for me a few times so I hope it works for you too!