From 280e65cbd83a867437cef3543d445013ecbfe29a Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sun, 19 Apr 2009 11:55:43 +0200 Subject: rev-list: refactor printing bisect vars This simplifies the code, and while at it we create the "print_commit_list" function that will be reused later. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- bisect.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bisect.h') diff --git a/bisect.h b/bisect.h index cb37ddfac0..89aa6cb0b3 100644 --- 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) -- cgit v1.2.3