Christian Couder | a2ad79c | 2009-03-26 05:55:24 +0100 | [diff] [blame] | 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 | |
Christian Couder | 9518864 | 2009-03-26 05:55:49 +0100 | [diff] [blame] | 8 | extern struct commit_list *filter_skipped(struct commit_list *list, |
| 9 | struct commit_list **tried, |
Christian Couder | 9af3589 | 2009-06-06 06:41:33 +0200 | [diff] [blame] | 10 | int show_all, |
| 11 | int *count, |
| 12 | int *skipped_first); |
Christian Couder | 9518864 | 2009-03-26 05:55:49 +0100 | [diff] [blame] | 13 | |
Christian Couder | 280e65c | 2009-04-19 11:55:43 +0200 | [diff] [blame] | 14 | extern void print_commit_list(struct commit_list *list, |
| 15 | const char *format_cur, |
| 16 | const char *format_last); |
| 17 | |
Christian Couder | 13858e5 | 2009-04-07 05:08:42 +0200 | [diff] [blame] | 18 | /* bisect_show_flags flags in struct rev_list_info */ |
Christian Couder | 37c4c38 | 2009-03-29 11:55:43 +0200 | [diff] [blame] | 19 | #define BISECT_SHOW_ALL (1<<0) |
| 20 | #define BISECT_SHOW_TRIED (1<<1) |
| 21 | |
Christian Couder | d797257 | 2009-04-06 22:28:00 +0200 | [diff] [blame] | 22 | struct rev_list_info { |
| 23 | struct rev_info *revs; |
Christian Couder | 13858e5 | 2009-04-07 05:08:42 +0200 | [diff] [blame] | 24 | int bisect_show_flags; |
Christian Couder | d797257 | 2009-04-06 22:28:00 +0200 | [diff] [blame] | 25 | int show_timestamp; |
| 26 | int hdr_termination; |
| 27 | const char *header_prefix; |
| 28 | }; |
| 29 | |
Jon Seymour | fee92fc | 2011-08-04 22:01:00 +1000 | [diff] [blame] | 30 | extern int bisect_next_all(const char *prefix, int no_checkout); |
Christian Couder | 1bf072e | 2009-03-26 05:55:54 +0100 | [diff] [blame] | 31 | |
Christian Couder | 1c87654 | 2009-04-19 11:55:38 +0200 | [diff] [blame] | 32 | extern int estimate_bisect_steps(int all); |
| 33 | |
Christian Couder | a2ad79c | 2009-03-26 05:55:24 +0100 | [diff] [blame] | 34 | #endif |