I have the following problem:
master works finemaster (say last
If you're using git bisect run like I have been doing with Perl's prove command (which runs automatic tests) you have no chance just to swap good and bad. The success of the tests will be reported as exit code.
I have found a valid Bash syntax to negate the exit code of the program run by git bisect run:
git bisect start
git bisect bad HEAD # last revision known to PASS the tests
git bisect good $LAST_FAIL_REVISION # last revision known to FAIL the tests
git bisect run bash -c "! prove"
This gave me the first revision to pass the tests run by prove.