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 | 37c4c38 | 2009-03-29 11:55:43 +0200 | [diff] [blame] | 18 | #define BISECT_SHOW_ALL (1<<0) |
Nguyễn Thái Ngọc Duy | 9899372 | 2012-02-28 21:00:00 +0700 | [diff] [blame] | 19 | #define REV_LIST_QUIET (1<<1) |
Christian Couder | 37c4c38 | 2009-03-29 11:55:43 +0200 | [diff] [blame] | 20 | |
Christian Couder | d797257 | 2009-04-06 22:28:00 +0200 | [diff] [blame] | 21 | struct rev_list_info { |
| 22 | struct rev_info *revs; |
Nguyễn Thái Ngọc Duy | 9899372 | 2012-02-28 21:00:00 +0700 | [diff] [blame] | 23 | int flags; |
Christian Couder | d797257 | 2009-04-06 22:28:00 +0200 | [diff] [blame] | 24 | int show_timestamp; |
| 25 | int hdr_termination; |
| 26 | const char *header_prefix; |
| 27 | }; |
| 28 | |
Jon Seymour | fee92fc | 2011-08-04 22:01:00 +1000 | [diff] [blame] | 29 | extern int bisect_next_all(const char *prefix, int no_checkout); |
Christian Couder | 1bf072e | 2009-03-26 05:55:54 +0100 | [diff] [blame] | 30 | |
Christian Couder | 1c87654 | 2009-04-19 11:55:38 +0200 | [diff] [blame] | 31 | extern int estimate_bisect_steps(int all); |
| 32 | |
Christian Couder | a2ad79c | 2009-03-26 05:55:24 +0100 | [diff] [blame] | 33 | #endif |