On Thu, Apr 22, 2010 at 03:57:31PM +0200, SZEDER Gábor wrote:
Er, yeah, that is what I meant. Sorry, thinko on my part.
Right, what you quoted from me was not Junio's concern. But I argued
against Junio's concern earlier in the mail. Basically, it is a corner
case. _If_ we add a new command to "git reflog", and _if_ that command
is the same as the name of your ref, you must stop using the short form
for that ref, and instead use "git reflog show $ref".
So for things like scripts that don't know what $ref will be, and want
to be on the safe side, they should continue to use the explicit "git
reflog show $ref" form. But there is no reason that humans typing a
command need to be bound by that restriction when it is unlikely to
happen (and even if it did, they would recover from it easily).
Personally, I don't care either way whether the documentation is updated
to match the behavior of vice versa. But I just don't see what your
original patch did as very harmful, and I can see how it would be
helpful (on the few occassions when I did use "git reflog show", I first
typed it forgetting the "show").
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html