Today I learned about git bisect
. It performs a binary search between two git refs and execute a command on each version until it finds the commit where the result changes. (0 good, 1 bad, 125 skip).
git bisect start # to enter bisect mode
git bisect old(good) <ref> # specify old version
git bisect new(bad) <ref> # specify new version
git bisect run <command> # perform bisect using the command