Re: [PATCH v17 14/14] tag.c: implement '--merged' and '--no-merged' options
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 18, 2015, 15:19 UTC
- Message-ID
- <vpq8u83kb5d.fsf@anie.imag.fr>
- In-Reply-To
- <CAOLa=ZQmGD2vo1B2K21-f_2RZRXduFt4VNKq2Pp9B_5bO=8=+w@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
> Not sure this is much of a problem with regards to "--[no-]merged" > I mean isn't the square brackets self-explanatory?
Well, usually --no-foo means "cancel the effect of --foo", ie. "git command --foo --no-foo" is equivalent to "git command".
Here, --no-merged=some-ref does not _cancel_ the effect but introduce a new behavior that was not the default. So it may make sense to explain this more clearly.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/