Skip to content

Commit 7ac04f1

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 682b29f commit 7ac04f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/for-each-ref.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
static char const * const for_each_ref_usage[] = {
99
N_("git for-each-ref [<options>] [<pattern>]"),
1010
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>]]"),
1313
NULL
1414
};
1515

0 commit comments

Comments
 (0)