Thread View: linux.kernel.git
1 messages
1 total messages
Started by Ben Knoble
Wed, 11 Nov 2026 15:42
Re: [PATCH v5 0/5] worktree: treat a branch being rebased or bisected as checked out
Author: Ben Knoble
Date: Wed, 11 Nov 2026 15:42
Date: Wed, 11 Nov 2026 15:42
27 lines
12096 bytes
12096 bytes
> Le 11 nov. 2026 à 10:28, Jasper Mayone <me@jaspermayone.com> a écrit : > > While a worktree is rebasing or bisecting a branch, its HEAD is > detached. "git worktree add" and "git branch -d" already treat the > branch as checked out there, but "git worktree remove" deletes such a > worktree when its files are clean, and %(worktreepath) and "git > branch" do not show which worktree has the branch. > > Patch 1 makes "git worktree remove" refuse a worktree in the middle of > an operation unless --force is given. Patch 2 documents how to read > %(worktreepath) safely. Patch 3 makes %(worktreepath) name the > worktree that is rebasing or bisecting a branch. Patch 4 adds > %(currentworktree), and patch 5 uses it so that "git branch" does not > mark that branch with "+" in the worktree that is rebasing it. > > Changes since v4 [1]: > > * Patch 1: each item in the list of cases that need --force is now a > complete sentence, and all the commands are in the same font, as > Phillip asked. Ben was happy with the old wording, and I hope this > suits both of you. It was a tiny nit (for me at least) to begin with, but the new version is also OK by me.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads