Code

list-objects: add "void *data" parameter to show functions
[git.git] / bisect.h
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 /* show_bisect_vars flags */
13 #define BISECT_SHOW_ALL         (1<<0)
14 #define BISECT_SHOW_TRIED       (1<<1)
15 #define BISECT_SHOW_STRINGED    (1<<2)
17 /*
18  * The flag BISECT_SHOW_ALL should not be set if this function is called
19  * from outside "builtin-rev-list.c" as otherwise it would use
20  * static "revs" from this file.
21  */
22 extern int show_bisect_vars(struct rev_info *revs, int reaches, int all,
23                             int flags);
25 extern int bisect_next_vars(const char *prefix);
27 #endif