summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-04-07 05:08:42 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-07 22:12:44 -0700
commit13858e5770dd218e5318819d3273c916b46cf8e5 (patch)
treed7f907bdc8f9b14e2e8da7080d58b58badd041e2 /bisect.h
parentd797257eb280b67dd1f7153a66b03453c0fb927a (diff)
downloadgit-13858e5770dd218e5318819d3273c916b46cf8e5.tar.gz
rev-list: add "int bisect_show_flags" in "struct rev_list_info"
This is a cleanup patch to make it easier to use the "show_bisect_vars" function and take advantage of the rev_list_info struct. 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bisect.h b/bisect.h
index b1c334d349..fdba913877 100644
--- a/bisect.h
+++ b/bisect.h
@@ -9,20 +9,20 @@ extern struct commit_list *filter_skipped(struct commit_list *list,
struct commit_list **tried,
int show_all);
-/* show_bisect_vars flags */
+/* bisect_show_flags flags in struct rev_list_info */
#define BISECT_SHOW_ALL (1<<0)
#define BISECT_SHOW_TRIED (1<<1)
#define BISECT_SHOW_STRINGED (1<<2)
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,
- int flags);
+extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
extern int bisect_next_vars(const char *prefix);