summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-03-26 04:55:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-30 08:22:54 (GMT)
commitff62d732d826efcf271cd6c50a41f613af97aff6 (patch)
tree8f470bea9ce9a7d62b8676e32c33b66e1cfe196b /builtin-rev-list.c
parent2a8177b63d39503b182248b04ffcc75e3495754c (diff)
downloadgit-ff62d732d826efcf271cd6c50a41f613af97aff6.zip
git-ff62d732d826efcf271cd6c50a41f613af97aff6.tar.gz
git-ff62d732d826efcf271cd6c50a41f613af97aff6.tar.bz2
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>
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 40d5fcb..28fe2dc 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;