blob: ec3c3ff007a53105089b9699d5917bccc28c7cfe [file] [log] [blame]
Christian Coudera2ad79c2009-03-26 05:55:24 +01001#ifndef BISECT_H
2#define BISECT_H
3
4extern struct commit_list *find_bisection(struct commit_list *list,
5 int *reaches, int *all,
6 int find_all);
7
Christian Couder95188642009-03-26 05:55:49 +01008extern struct commit_list *filter_skipped(struct commit_list *list,
9 struct commit_list **tried,
Christian Couder9af35892009-06-06 06:41:33 +020010 int show_all,
11 int *count,
12 int *skipped_first);
Christian Couder95188642009-03-26 05:55:49 +010013
Christian Couder280e65c2009-04-19 11:55:43 +020014extern void print_commit_list(struct commit_list *list,
15 const char *format_cur,
16 const char *format_last);
17
Christian Couder37c4c382009-03-29 11:55:43 +020018#define BISECT_SHOW_ALL (1<<0)
Nguyễn Thái Ngọc Duy98993722012-02-28 21:00:00 +070019#define REV_LIST_QUIET (1<<1)
Christian Couder37c4c382009-03-29 11:55:43 +020020
Christian Couderd7972572009-04-06 22:28:00 +020021struct rev_list_info {
22 struct rev_info *revs;
Nguyễn Thái Ngọc Duy98993722012-02-28 21:00:00 +070023 int flags;
Christian Couderd7972572009-04-06 22:28:00 +020024 int show_timestamp;
25 int hdr_termination;
26 const char *header_prefix;
27};
28
Jon Seymourfee92fc2011-08-04 22:01:00 +100029extern int bisect_next_all(const char *prefix, int no_checkout);
Christian Couder1bf072e2009-03-26 05:55:54 +010030
Christian Couder1c876542009-04-19 11:55:38 +020031extern int estimate_bisect_steps(int all);
32
Christian Coudera2ad79c2009-03-26 05:55:24 +010033#endif