From: Nanako Shiraishi Date: Wed, 16 Jul 2008 10:42:14 +0000 (+0900) Subject: builtin-describe.c: make a global variable "pattern" static X-Git-Tag: v1.6.0-rc0~47 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8;p=git.git builtin-describe.c: make a global variable "pattern" static This variable is not used by any other file. Signed-off-by: Nanako Shiraishi Signed-off-by: Junio C Hamano --- diff --git a/builtin-describe.c b/builtin-describe.c index e515f9ca9..62a19056e 100644 --- a/builtin-describe.c +++ b/builtin-describe.c @@ -20,7 +20,7 @@ static int tags; /* But allow any tags if --tags is specified */ static int longformat; static int abbrev = DEFAULT_ABBREV; static int max_candidates = 10; -const char *pattern = NULL; +static const char *pattern; static int always; struct commit_name {