Re: [PATCH 8/8] t0012: test "-h" with builtins
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 30, 2017, 22:39 UTC
- Message-ID
- <xmqq60gias11.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170530154432.rxzo5k5ti3jxmksx@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> And the idea is that ranges like "-.." should work. TBH, I'm not sure
> how I feel about that, for exactly the reason that came up here: it
> makes it hard to syntactically differentiate the "-" shorthand from
> actual options. We do have @{-1} already for this purpose. I don't mind
> "-" as a shortcut for things like "git checkout -" or "git show -", but
> it feels like most of the benefit is lost when you're combining it with
> other operators.All correct and that is why I haven't seriously considered merging the topic further down (yet). Things like -.. makes readers of the commands go "Huh?", and "git tbdiff ..- -.." does not even work ;-)