Merge branch 'maint-1.6.5' into maint-1.6.6
[tgit.git] / bisect.h
blob82f8fc1910a42c5c90ad3312d9aa8f35ef2b992f
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 extern void print_commit_list(struct commit_list *list,
15 const char *format_cur,
16 const char *format_last);
18 /* bisect_show_flags flags in struct rev_list_info */
19 #define BISECT_SHOW_ALL (1<<0)
20 #define BISECT_SHOW_TRIED (1<<1)
22 struct rev_list_info {
23 struct rev_info *revs;
24 int bisect_show_flags;
25 int show_timestamp;
26 int hdr_termination;
27 const char *header_prefix;
30 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
32 extern int bisect_next_all(const char *prefix);
34 extern int estimate_bisect_steps(int all);
36 #endif