builtin-describe.c: make a global variable "pattern" static
This variable is not used by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nanako Shiraishi committed
Jul 16, 2008 at 19:42 UTC
cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8
1 file changed
+1
-1
builtin-describe.c
+1
-1
@@ -20,7 +20,7 @@ static int tags; /* But allow any tags if --tags is specified */
20
static int longformat;
21
static int abbrev = DEFAULT_ABBREV;
22
static int max_candidates = 10;
23
-const char *pattern = NULL;
23
+static const char *pattern;
24
static int always;
25
26
struct commit_name {