bisect: introduce support for --no-checkout option.

If --no-checkout is specified, then the bisection process uses:

	git update-ref --no-deref HEAD <trial>

at each trial instead of:

	git checkout <trial>

Improved-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jon Seymour
2011-08-04 22:01:00 +10:00
committed by Junio C Hamano
parent d3dfeedf2e
commit fee92fc1dd
3 changed files with 28 additions and 14 deletions

View File

@ -27,7 +27,7 @@ struct rev_list_info {
const char *header_prefix;
};
extern int bisect_next_all(const char *prefix);
extern int bisect_next_all(const char *prefix, int no_checkout);
extern int estimate_bisect_steps(int all);