Thread (1 message) 1 message, 1 author, 2017-03-20

Re: [PATCH 3/8] tag: Change misleading --list <pattern> documentation

From: Junio C Hamano <hidden>
Date: 2017-03-20 17:07:19

Junio C Hamano [off-list ref] writes:
Jeff King [off-list ref] writes:
quoted
I think it's expected to work under the usual last-one-wins option
parsing. A more subtle case is that:

  git tag -l -d foo

would override "-l" with "-d". That's reasonable under the same rule as
long as the user knows that the two are mode-selectors. I don't think we
make that explicit in the documentation, though, so perhaps it isn't
something users should rely on.
Yup, that is reasonable.
Oops.  I meant "two are mode-selectors and can override with the
usual last one wins rule" was reasonable.  As Ævar says, this is an
established practice and may already be documented sufficiently.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help