aboutsummaryrefslogtreecommitdiff
path: root/builtin-describe.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-07-16 19:42:14 +0900
committerJunio C Hamano <gitster@pobox.com>2008-07-16 08:50:32 -0700
commitcb2a1cc29864e0bce16b3d5e6dbde987aa57cef8 (patch)
treee8289de0443d1755e1d4eca7c0d2940193fe62e6 /builtin-describe.c
parent7ba04d9f3741abd5788ff713b6a16351cbf3773a (diff)
downloadgit-cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8.tar.gz
git-cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8.tar.xz
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>
Diffstat (limited to 'builtin-describe.c')
-rw-r--r--builtin-describe.c2
1 files changed, 1 insertions, 1 deletions
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 {