Re: [PATCH] branch: let '--edit-description' default to rebased branch during rebase
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 7, 2020, 18:57 UTC
- Message-ID
- <xmqq1rr6444s.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAJ+F1CJc4kEvxLr-wLXpvXOC8YRVf5xP1HuJh9-cYa6mGmbyXg@mail.gmail.com>
Marc-André Lureau <marcandre.lureau@gmail.com> writes:
Show 6 quoted lines
> Also, when doing --edit-description there are comments like: > > # Please edit the description for the branch > # unrelated-history > > What else do you suggest?
How about teaching "git branch --edit-description [HEAD]" notice when/if HEAD is detached and always error out, no matter what operation is in progress?