]> rtime.felk.cvut.cz Git - git.git/blobdiff - builtin-for-each-ref.c
rev-parse: Add support for the ^! and ^@ syntax
[git.git] / builtin-for-each-ref.c
index fef93d7488d15fac28e96f887f26556755cc6ca8..445039e19c75e4c9321f7ee64289ef8201a25c14 100644 (file)
@@ -809,7 +809,7 @@ static struct ref_sort *default_sort(void)
        return sort;
 }
 
-int opt_parse_sort(const struct option *opt, const char *arg, int unset)
+static int opt_parse_sort(const struct option *opt, const char *arg, int unset)
 {
        struct ref_sort **sort_tail = opt->value;
        struct ref_sort *s;
@@ -831,7 +831,7 @@ int opt_parse_sort(const struct option *opt, const char *arg, int unset)
 }
 
 static char const * const for_each_ref_usage[] = {
-       "git-for-each-ref [options] [<pattern>]",
+       "git for-each-ref [options] [<pattern>]",
        NULL
 };