X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-describe.c;h=ec404c839b6542deb4e15ca342fd3c0afbbedd2e;hb=5190d73d1e83d6ac982da2a793043c2b012fad40;hp=e515f9ca9b5d0ec13e96a7866e27bdd9e852b435;hpb=bb1ab2db08f48add4236a5a9c08aa1a6aa4d5d48;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 {