rev-list: refactor printing bisect vars
[gitweb.git] / bisect.h
index cb37ddfac0c3aaba4a55e148c61c3c91d5288243..89aa6cb0b30989ce8b1ac17859efdb9d11c97035 100644 (file)
--- a/bisect.h
+++ b/bisect.h
@@ -9,6 +9,10 @@ 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)