for-each-ref: partly change <object> to <commit> in help
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>
Ævar Arnfjörð Bjarmason committed
Mar 23, 2017 at 13:05 UTC
7ac04f1398c4e854cb585bd289ee4fe921984bbd
1 file changed
+2
-2
builtin/for-each-ref.c
+2
-2
@@ -8,8 +8,8 @@
8
static char const * const for_each_ref_usage[] = {
9
N_("git for-each-ref [<options>] [<pattern>]"),
10
N_("git for-each-ref [--points-at <object>]"),
11
- N_("git for-each-ref [(--merged | --no-merged) [<object>]]"),
12
- N_("git for-each-ref [--contains [<object>]]"),
11
+ N_("git for-each-ref [(--merged | --no-merged) [<commit>]]"),
12
+ N_("git for-each-ref [--contains [<commit>]]"),
13
NULL
14
};
15