show-branch: use skip_prefix to drop magic numbers
[git/debian.git] / bisect.h
blobacd12ef802c611505139d641fc44776cf6431a5c
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,
11 int *count,
12 int *skipped_first);
14 #define BISECT_SHOW_ALL (1<<0)
15 #define REV_LIST_QUIET (1<<1)
17 struct rev_list_info {
18 struct rev_info *revs;
19 int flags;
20 int show_timestamp;
21 int hdr_termination;
22 const char *header_prefix;
25 extern int bisect_next_all(const char *prefix, int no_checkout);
27 extern int estimate_bisect_steps(int all);
29 extern void read_bisect_terms(const char **bad, const char **good);
31 #endif