diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2009-04-19 11:55:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-10 00:30:28 -0700 |
commit | 280e65cbd83a867437cef3543d445013ecbfe29a (patch) | |
tree | 770b0f16b3545239d1924246ab08bf362ac275d7 /bisect.h | |
parent | 1c876546bda5dde35d4ae887ad6d24ed16ec953a (diff) | |
download | git-280e65cbd83a867437cef3543d445013ecbfe29a.tar.gz |
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 <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
-rw-r--r-- | bisect.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |