diff options
author | Nanako Shiraishi <nanako3@lavabit.com> | 2008-07-16 19:42:14 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-16 08:50:32 -0700 |
commit | cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8 (patch) | |
tree | e8289de0443d1755e1d4eca7c0d2940193fe62e6 /builtin-describe.c | |
parent | 7ba04d9f3741abd5788ff713b6a16351cbf3773a (diff) | |
download | git-cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-describe.c b/builtin-describe.c index e515f9ca9b..62a19056ef 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 { |