diff options
author | Nanako Shiraishi <nanako3@lavabit.com> | 2008-07-16 12:42:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-16 17:50:32 +0200 |
commit | cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8 (patch) | |
tree | e8289de0443d1755e1d4eca7c0d2940193fe62e6 /builtin-describe.c | |
parent | cache-tree.c: make cache_tree_find() static (diff) | |
download | git-cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8.tar.xz git-cb2a1cc29864e0bce16b3d5e6dbde987aa57cef8.zip |
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 { |