Re: [PATCH] branch: let '--edit-description' default to rebased branch during rebase
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Feb 7, 2020, 19:29 UTC
- Message-ID
- <CAPig+cTWxj+dRiYZEEbfUA7=NiEF3crTaYCVGPR2qG-VEV+Y0w@mail.gmail.com>
- In-Reply-To
- <xmqqwo8y2ovu.fsf@gitster-ct.c.googlers.com>
On Fri, Feb 7, 2020 at 2:12 PM Junio C Hamano <gitster@pobox.com> wrote:
> Marc-André Lureau <marcandre.lureau@gmail.com> 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.
Show 6 quoted lines
> > > 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@redhat.com/