bisect: use "git bisect--helper --next-exit" in "git-bisect.sh"
[git/spearce.git] / bisect.h
blob028eb85220bbb2432755ed481818b71e0c29b05d
1 #ifndef BISECT_H
2 #define BISECT_H
4 extern struct commit_list *find_bisection(struct commit_list *list,
5 int *reaches, int *all,
6 int find_all);
8 extern struct commit_list *filter_skipped(struct commit_list *list,
9 struct commit_list **tried,
10 int show_all);
12 extern void print_commit_list(struct commit_list *list,
13 const char *format_cur,
14 const char *format_last);
16 /* bisect_show_flags flags in struct rev_list_info */
17 #define BISECT_SHOW_ALL (1<<0)
18 #define BISECT_SHOW_TRIED (1<<1)
19 #define BISECT_SHOW_STRINGED (1<<2)
21 struct rev_list_info {
22 struct rev_info *revs;
23 int bisect_show_flags;
24 int show_timestamp;
25 int hdr_termination;
26 const char *header_prefix;
29 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
31 extern int bisect_next_vars(const char *prefix);
32 extern int bisect_next_exit(const char *prefix);
34 extern int estimate_bisect_steps(int all);
36 #endif