From: Junio C Hamano Date: Tue, 21 Mar 2017 18:32:22 GMT Subject: Re: [PATCH v2 08/16] for-each-ref: partly change to in help Message-ID: In-Reply-To: <20170321125901.10652-9-avarab@gmail.com> Ævar Arnfjörð Bjarmason writes: > Change mentions of to 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 > --- This definitely is a correction worth doing. Do these strictly require commit, or does any commit-ish also do? > builtin/for-each-ref.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c > index df41fa0350..1a5ed20f59 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 [] []"), > N_("git for-each-ref [--points-at ]"), > - N_("git for-each-ref [(--merged | --no-merged) []]"), > - N_("git for-each-ref [--contains []]"), > + N_("git for-each-ref [(--merged | --no-merged) []]"), > + N_("git for-each-ref [--contains []]"), > NULL > };