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 <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Christian Couder committed
Mar 26, 2009 at 05:55 UTC
ff62d732d826efcf271cd6c50a41f613af97aff6
1 file changed
+1
-1
builtin-rev-list.c
+1
-1
@@ -52,7 +52,6 @@ static const char rev_list_usage[] =
52
53
static struct rev_info revs;
54
55
-static int bisect_list;
55
static int show_timestamp;
56
static int hdr_termination;
57
static const char *header_prefix;
@@ -618,6 +617,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
617
struct commit_list *list;
618
int i;
619
int read_from_stdin = 0;
620
+ int bisect_list = 0;
621
int bisect_show_vars = 0;
622
int bisect_find_all = 0;
623
int quiet = 0;