On Fri, Feb 7, 2020 at 2:12 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > Marc-André Lureau <marcandre.lureau@xxxxxxxxx> writes: > > Then --edit-description during won't default to the branch you started > > from the bisect. So we are back to my original proposal only, having > > branch default during rebase. Eric, do you mind? I don't feel strongly one way or the other. > > > 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? > > What I meant by "no matter what is in progress" is not to special > case "during rebase", either. That would defeat the original purpose[1] of this submission, I think. As I understand it, the idea all along was to make this operation work during a rebase. [1]: https://lore.kernel.org/git/20200110071929.119000-1-marcandre.lureau@xxxxxxxxxx/