diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2009-03-29 11:55:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-05 01:29:45 -0700 |
commit | 37c4c38d7356bf256d0297fdbac78ef8b6807fac (patch) | |
tree | 71a160a91feae0616ede3faa9e7208bfd2da6c3e /bisect.h | |
parent | b74d7efb108c9d3fd2d057b0c452583552a0577a (diff) | |
download | git-37c4c38d7356bf256d0297fdbac78ef8b6807fac.tar.gz |
rev-list: pass "int flags" as last argument of "show_bisect_vars"
Instead of "int show_all, int show_tried" we now only pass "int flags",
because we will add one more flag in a later patch.
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 | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -9,13 +9,17 @@ extern struct commit_list *filter_skipped(struct commit_list *list, struct commit_list **tried, int show_all); +/* show_bisect_vars flags */ +#define BISECT_SHOW_ALL (1<<0) +#define BISECT_SHOW_TRIED (1<<1) + /* - * The "show_all" parameter should be 0 if this function is called + * The flag BISECT_SHOW_ALL should not be set if this function is called * from outside "builtin-rev-list.c" as otherwise it would use * static "revs" from this file. */ extern int show_bisect_vars(struct rev_info *revs, int reaches, int all, - int show_all, int show_tried); + int flags); extern int bisect_next_vars(const char *prefix); |