]> git.ipfire.org Git - thirdparty/git.git/blob - bisect.h
revision: add --grep-reflog to filter commits by reflog messages
[thirdparty/git.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 int *count,
12 int *skipped_first);
13
14 extern void print_commit_list(struct commit_list *list,
15 const char *format_cur,
16 const char *format_last);
17
18 #define BISECT_SHOW_ALL (1<<0)
19 #define REV_LIST_QUIET (1<<1)
20
21 struct rev_list_info {
22 struct rev_info *revs;
23 int flags;
24 int show_timestamp;
25 int hdr_termination;
26 const char *header_prefix;
27 };
28
29 extern int bisect_next_all(const char *prefix, int no_checkout);
30
31 extern int estimate_bisect_steps(int all);
32
33 #endif