Merge branch 'jc/mktree' into sb/opt-filename
[git] / bisect.h
1 #ifndef BISECT_H
2 #define BISECT_H
3
4 extern struct commit_list *find_bisection(struct commit_list *list,
5                                           int *reaches, int *all,
6                                           int find_all);
7
8 extern struct commit_list *filter_skipped(struct commit_list *list,
9                                           struct commit_list **tried,
10                                           int show_all);
11
12 extern void print_commit_list(struct commit_list *list,
13                               const char *format_cur,
14                               const char *format_last);
15
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
20 struct rev_list_info {
21         struct rev_info *revs;
22         int bisect_show_flags;
23         int show_timestamp;
24         int hdr_termination;
25         const char *header_prefix;
26 };
27
28 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
29
30 extern int bisect_next_all(const char *prefix);
31
32 extern int estimate_bisect_steps(int all);
33
34 #endif