for-each-ref: partly change <object> to <commit> in help
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 23 Mar 2017 13:05:21 +0000 (13:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Mar 2017 17:02:56 +0000 (10:02 -0700)
Change mentions of <object> to <commit> in the help output of
for-each-ref as appropriate.

Both --[no-]merged and --contains only take commits, but --points-at
can take any object, such as a tag pointing to a tree or blob.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c
index df41fa035004e1cf8a0c7c9ff09081a47b944f38..1a5ed20f59eefef9c32ceee6916f05a82d4199f4 100644 (file)
@@ -8,8 +8,8 @@
 static char const * const for_each_ref_usage[] = {
        N_("git for-each-ref [<options>] [<pattern>]"),
        N_("git for-each-ref [--points-at <object>]"),
-       N_("git for-each-ref [(--merged | --no-merged) [<object>]]"),
-       N_("git for-each-ref [--contains [<object>]]"),
+       N_("git for-each-ref [(--merged | --no-merged) [<commit>]]"),
+       N_("git for-each-ref [--contains [<commit>]]"),
        NULL
 };