summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:48:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:50:05 (GMT)
commit69d2cfe6e84fbcd77872191b6f433d38362c23d6 (patch)
tree5c42b9a92f9fbb68c2f1643217f8e7d546de5516 /bisect.h
parentfb998eae6ce90fe7fd9c963a601a8910d9f33561 (diff)
downloadgit-69d2cfe6e84fbcd77872191b6f433d38362c23d6.zip
git-69d2cfe6e84fbcd77872191b6f433d38362c23d6.tar.gz
git-69d2cfe6e84fbcd77872191b6f433d38362c23d6.tar.bz2
bisect.c: remove the_repository reference
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bisect.h b/bisect.h
index 34df209..821d16e 100644
--- a/bisect.h
+++ b/bisect.h
@@ -2,6 +2,7 @@
#define BISECT_H
struct commit_list;
+struct repository;
/*
* Find bisection. If something is found, `reaches` will be the number of
@@ -30,7 +31,9 @@ struct rev_list_info {
const char *header_prefix;
};
-extern int bisect_next_all(const char *prefix, int no_checkout);
+extern int bisect_next_all(struct repository *r,
+ const char *prefix,
+ int no_checkout);
extern int estimate_bisect_steps(int all);