bisect: add "check_good_are_ancestors_of_bad" function
commitd937d4aca1f10b9202b620a89dc6a5972e9605eb
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 9 May 2009 15:55:46 +0000 (9 17:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 May 2009 21:30:32 +0000 (10 14:30 -0700)
treef60e6d37e8b5442c48bea0bc412625aaa6160c89
parentc0537662806f4b3d3ba883d05a48fdf9120893f0
bisect: add "check_good_are_ancestors_of_bad" function

This is a port of the function with the same name that is in
"git-bisect.sh". The new function is not used yet but will be in
a later patch.

We also implement an helper "check_ancestors" function that use
"start_command" and "finish_command" to launch
"git rev-list $good ^$bad".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c