I scripted something similar at an old workplace;<p>Basically you'd pass a command to the script and it would track down the last commit that did not fail the command.<p>It'd search HEAD~4, HEAD~8, HEAD~16... until it found a good commit, then bisect.<p>The problem that I found is that bugs that have already been fixed still triggered in the past, and the only solution that I found to that was to branch the first buggy commit, apply a fix and squash and then rebase on top of that.<p>Not the best practice, but it saved me a lot of time.