All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/7] rev-list: make "bisect_list" variable local to "cmd_rev_list"
@ 2009-03-12  7:51 Christian Couder
  0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2009-03-12  7:51 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Ingo Molnar, John Tapsell, Johannes Schindelin

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>
---
 builtin-rev-list.c |    2 +-
 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;
-- 
1.6.2.83.g012a16.dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-12  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12  7:51 [PATCH 2/7] rev-list: make "bisect_list" variable local to "cmd_rev_list" Christian Couder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.