Merge branch 'jk/cobdoc'
[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 /* bisect_show_flags flags in struct rev_list_info */
13 #define BISECT_SHOW_ALL         (1<<0)
14 #define BISECT_SHOW_TRIED       (1<<1)
15 #define BISECT_SHOW_STRINGED    (1<<2)
16
17 struct rev_list_info {
18         struct rev_info *revs;
19         int bisect_show_flags;
20         int show_timestamp;
21         int hdr_termination;
22         const char *header_prefix;
23 };
24
25 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
26
27 extern int bisect_next_vars(const char *prefix);
28
29 #endif