From: Christian Couder Date: Thu, 26 Mar 2009 04:55:17 +0000 (+0100) Subject: rev-list: make "bisect_list" variable local to "cmd_rev_list" X-Git-Tag: v1.6.3-rc0~7^2~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff62d732d826efcf271cd6c50a41f613af97aff6;p=git.git rev-list: make "bisect_list" variable local to "cmd_rev_list" The "bisect_list" variable was static for no reason as it is only used in the "cmd_rev_list" function. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 40d5fcb6b..28fe2dc30 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -52,7 +52,6 @@ static const char rev_list_usage[] = static struct rev_info revs; -static int bisect_list; static int show_timestamp; static int hdr_termination; static const char *header_prefix; @@ -618,6 +617,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix) struct commit_list *list; int i; int read_from_stdin = 0; + int bisect_list = 0; int bisect_show_vars = 0; int bisect_find_all = 0; int quiet = 0;