summaryrefslogtreecommitdiff
path: root/builtin/for-each-ref.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-03-23 13:05:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-23 17:02:56 (GMT)
commit7ac04f1398c4e854cb585bd289ee4fe921984bbd (patch)
treeb012827f7f30e43bcadc3ed61db4bcb053cb09bf /builtin/for-each-ref.c
parent682b29f90d7e049c24f3821d49599dceb4aeb758 (diff)
downloadgit-7ac04f1398c4e854cb585bd289ee4fe921984bbd.zip
git-7ac04f1398c4e854cb585bd289ee4fe921984bbd.tar.gz
git-7ac04f1398c4e854cb585bd289ee4fe921984bbd.tar.bz2
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>
Diffstat (limited to 'builtin/for-each-ref.c')
-rw-r--r--builtin/for-each-ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c
index df41fa0..1a5ed20 100644
--- a/builtin/for-each-ref.c
+++ b/builtin/for-each-ref.c
@@ -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
};