Re: [PATCH 2/2] built-in add -i: accept open-ended ranges again
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 17, 2020, 17:35 UTC
- Message-ID
- <xmqqv9padm0f.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.2001171100030.46@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
>> Good. We do not allow "everything up to N" with "-N", so covering >> "N and everything after" with "N-" is sufficient. > > Even worse, `-N` means "toggle N off". But that can't be fixed easily as > it has been part of the UI for ages.
There is no loss. "N-" is useful because you do not necessarily know what the maximum is, but "everything up to N" will always be "1-N" and you do not know what the minimum is.
So, there is not even worse there at all ;-)