]> Pileus Git - ~andy/git/blob - bisect.h
rev-list: remove last static vars used in "show_commit"
[~andy/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 #define BISECT_SHOW_STRINGED    (1<<2)
16
17 struct rev_list_info {
18         struct rev_info *revs;
19         int show_timestamp;
20         int hdr_termination;
21         const char *header_prefix;
22 };
23
24 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all,
25                             int flags);
26
27 extern int bisect_next_vars(const char *prefix);
28
29 #endif