As with git 2.7, you can use the --term-old and -term-new arguments.
For example, you can identify the fixation of a problem this way:
git bisect start --term-new=fixed --term-old=unfixed git bisect fixed master git bisect unfixed $some-old-sha1
When you are testing, say git bisect fixed or git bisect unfixed if necessary.
Old answer, for git versions prior to 2.7
Instead of temporarily teaching yourself to think that bad means good and good means bad, why not create some nicknames?
In ~/.gitconfig add the following:
[alias] bisect-fixed = bisect bad bisect-unfixed = bisect good
You can begin to fix the problem in this way:
$ git bisect start $ git bisect-fixed master $ git bisect-unfixed $some-old-sha1
When you test, say git bisect-fixed or git bisect-unfixed if necessary.
Michael Wolf Jun 17 '13 at 17:45 2013-06-17 17:45
source share