Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
682b29f
)
diff --git
a/builtin/for-each-ref.c
b/builtin/for-each-ref.c
index df41fa035004e1cf8a0c7c9ff09081a47b944f38..1a5ed20f59eefef9c32ceee6916f05a82d4199f4 100644
(file)
--- 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) [<
objec
t>]]"),
- N_("git for-each-ref [--contains [<
objec
t>]]"),
+ N_("git for-each-ref [(--merged | --no-merged) [<
commi
t>]]"),
+ N_("git for-each-ref [--contains [<
commi
t>]]"),
NULL
};