X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-describe.c;h=ec404c839b6542deb4e15ca342fd3c0afbbedd2e;hb=eaa2a6fc84bc02c1356353f7364e976e46133e98;hp=e515f9ca9b5d0ec13e96a7866e27bdd9e852b435;hpb=5e97f464df082d8f45e163bbf24341dceeafe89d;p=git.git diff --git a/builtin-describe.c b/builtin-describe.c index e515f9ca9..ec404c839 100644 --- a/builtin-describe.c +++ b/builtin-describe.c @@ -10,7 +10,7 @@ #define MAX_TAGS (FLAG_BITS - 1) static const char * const describe_usage[] = { - "git-describe [options] *", + "git describe [options] *", NULL }; @@ -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 {