rev-list: pass "int flags" as last argument of "show_bisect_vars"
[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 /* show_bisect_vars flags */
13 #define BISECT_SHOW_ALL         (1<<0)
14 #define BISECT_SHOW_TRIED       (1<<1)
15
16 /*
17  * The flag BISECT_SHOW_ALL should not be set if this function is called
18  * from outside "builtin-rev-list.c" as otherwise it would use
19  * static "revs" from this file.
20  */
21 extern int show_bisect_vars(struct rev_info *revs, int reaches, int all,
22                             int flags);
23
24 extern int bisect_next_vars(const char *prefix);
25
26 #endif