summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-04-19 09:56:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-10 07:30:28 (GMT)
commitef24c7ca055f03c673c2b67a3a7c92bcc32f62f0 (patch)
tree412a7f1c5096cc4a86585f5f60edd69e3ca11509 /bisect.h
parent2ace9727be2b04ce9fbc5939466da38be7fd8496 (diff)
downloadgit-ef24c7ca055f03c673c2b67a3a7c92bcc32f62f0.zip
git-ef24c7ca055f03c673c2b67a3a7c92bcc32f62f0.tar.gz
git-ef24c7ca055f03c673c2b67a3a7c92bcc32f62f0.tar.bz2
bisect--helper: add "--next-exit" to output bisect results
The goal of this patch is to port more shell code from the "bisect_next" function in "git-bisect.sh" to C code in "builtin-bisect--helper.c". So we port the code that interprets the bisection result and stops or continues (by checking out the next revision) the bisection process. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bisect.h b/bisect.h
index 89aa6cb..028eb85 100644
--- a/bisect.h
+++ b/bisect.h
@@ -29,6 +29,7 @@ struct rev_list_info {
extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
extern int bisect_next_vars(const char *prefix);
+extern int bisect_next_exit(const char *prefix);
extern int estimate_bisect_steps(int all);