X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bisect.h;h=fb744fdb79e1dd4a46cd3f2759b73747d8e79fbd;hb=7f5a68ad4d0e00eb2f28405946ec0f2691d7ad81;hp=60b2fe1cdc9896b9a3baf31cf35c9ab7a1f77568;hpb=a2ad79ced25e1b76fabec079549f521e8071ddd1;p=git.git diff --git a/bisect.h b/bisect.h index 60b2fe1cd..fb744fdb7 100644 --- a/bisect.h +++ b/bisect.h @@ -5,4 +5,30 @@ extern struct commit_list *find_bisection(struct commit_list *list, int *reaches, int *all, int find_all); +extern struct commit_list *filter_skipped(struct commit_list *list, + struct commit_list **tried, + int show_all); + +extern void print_commit_list(struct commit_list *list, + const char *format_cur, + const char *format_last); + +/* bisect_show_flags flags in struct rev_list_info */ +#define BISECT_SHOW_ALL (1<<0) +#define BISECT_SHOW_TRIED (1<<1) + +struct rev_list_info { + struct rev_info *revs; + int bisect_show_flags; + int show_timestamp; + int hdr_termination; + const char *header_prefix; +}; + +extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all); + +extern int bisect_next_all(const char *prefix); + +extern int estimate_bisect_steps(int all); + #endif