Re: [PATCH] branch: add '-' to delete previous branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 30, 2020, 19:51 UTC
- Message-ID
- <xmqqftcksqea.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200430155904.GA30682@syl.local>
Taylor Blau <me@ttaylorr.com> writes:
Show 7 quoted lines
> It is the case that 'git branch -D @{-N}' already works, which was
> surprising to me. I am suggesting that you make documenting the existent
> behavior a new first patch.
>
> Of course, that might be the only patch that you end up sending in v2,
> since it seems that consensus has formed around not supposing '-' as a
> shorthand for '@{-1}' with 'git branch -D'.Thanks for concisely summarizing the current status of the discussion.