]> git.ipfire.org Git - thirdparty/git.git/commit - git-bisect.sh
Bisect: implement "bisect skip" to mark untestable revisions.
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 22 Oct 2007 05:48:36 +0000 (07:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Oct 2007 06:27:23 +0000 (23:27 -0700)
commit97e1c51e15d94f523c67a499ecb633b0e20324cb
tree9d94904bbb238da2d6e921b92bcbdb91e46b582d
parent8fe26f4481f274a6c752a6c13ac5da0460dbd1b6
Bisect: implement "bisect skip" to mark untestable revisions.

When there are some "skip"ped revisions, we add the '--bisect-all'
option to "git rev-list --bisect-vars". Then we filter out the
"skip"ped revisions from the result of the rev-list command, and we
modify the "bisect_rev" var accordingly.

We don't always use "--bisect-all" because it is slower
than "--bisect-vars" or "--bisect".

When we cannot find for sure the first bad commit because of
"skip"ped commits, we print the hash of each possible first bad
commit and then we exit with code 2.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-bisect.sh
t/t6030-bisect-porcelain.sh