From: Phillip Wood <phillip.wood123@gmail.com>
To: Aniket Gupta <aniketgupta3001@gmail.com>, phillip.wood@dunelm.org.uk
Cc: Toon Claes <toon@iotcl.com>, Patrick Steinhardt <ps@pks.im>,
Junio C Hamano <gitster@pobox.com>,
Nikita Bobko <nikita@nbobko.com>,
git@vger.kernel.org
Subject: Re: [PATCH v2] history: refuse to rewrite branches used by other worktrees
Date: Tue, 1 Dec 2026 16:39:35 +0000 [thread overview]
Message-ID: <c41b3014-be88-4966-aa87-add5d48c26e0@gmail.com> (raw)
In-Reply-To: <20261130171318.65085-1-aniketgupta3001@gmail.com>
Hi Aniket
On 30/11/2026 17:13, Aniket Gupta wrote:
>
>> A branch that is being bisected in the current worktree cannot be
>> rewritten because ... (is there actually a good reason?)
>
> I rewrote the branch by hand while it was being bisected in the current
> worktree and in a different one. Bisect could continue and "git bisect
> reset" checked out the rewritten branch without problems. One thing I
> noticed is that the result points to a commit from the old history,
> which is no longer on the branch. I included this check because "git
> branch -f" and "git rebase --update-refs" also leave a branch alone
> while it is being bisected. I am in favour of keeping it. Suggestions?u
I'm happy to keep the check if we have a good explanation as to why in
the documentation.
Thanks
Phillip
next prev parent reply other threads:[~2026-12-01 16:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 10:39 [PATCH] history: refuse to rewrite branches used by other worktrees Aniket Gupta
2026-11-23 13:10 ` Phillip Wood
2026-11-23 21:54 ` Aniket Gupta
2026-11-24 10:49 ` Phillip Wood
2026-11-24 14:09 ` Aniket Gupta
2026-11-23 20:14 ` Junio C Hamano
2026-11-23 21:54 ` Aniket Gupta
2026-11-27 17:32 ` [PATCH v2] " Aniket Gupta
2026-11-28 0:12 ` Junio C Hamano
2026-11-28 7:37 ` Aniket Gupta
2026-11-30 11:31 ` Toon Claes
2026-11-30 12:15 ` Aniket Gupta
2026-11-30 14:39 ` Phillip Wood
2026-11-30 17:13 ` Aniket Gupta
2026-11-30 14:49 ` Phillip Wood
2026-11-30 17:13 ` Aniket Gupta
2026-12-01 16:39 ` Phillip Wood [this message]
2026-12-01 17:36 ` Aniket Gupta
2026-12-01 13:18 ` Patrick Steinhardt
2026-12-01 16:37 ` Phillip Wood
2026-12-02 6:23 ` Patrick Steinhardt
2026-12-01 18:11 ` Aniket Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c41b3014-be88-4966-aa87-add5d48c26e0@gmail.com \
--to=phillip.wood123@gmail.com \
--cc=aniketgupta3001@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nikita@nbobko.com \
--cc=phillip.wood@dunelm.org.uk \
--cc=ps@pks.im \
--cc=toon@iotcl.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.