From: Junio C Hamano Date: Fri, 07 Feb 2020 18:57:23 GMT Subject: Re: [PATCH] branch: let '--edit-description' default to rebased branch during rebase Message-ID: In-Reply-To: Marc-André Lureau writes: > 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?