http-push: do not SEGV after fetching a bad pack idx file
[git/jrn.git] / bisect.h
blobfdba9138773f6f6a4f36655f81965e955e79b3bc
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 /* bisect_show_flags flags in struct rev_list_info */
13 #define BISECT_SHOW_ALL (1<<0)
14 #define BISECT_SHOW_TRIED (1<<1)
15 #define BISECT_SHOW_STRINGED (1<<2)
17 struct rev_list_info {
18 struct rev_info *revs;
19 int bisect_show_flags;
20 int show_timestamp;
21 int hdr_termination;
22 const char *header_prefix;
25 extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
27 extern int bisect_next_vars(const char *prefix);
29 #endif