Thread View: linux.kernel.git
4 messages
4 total messages
Started by Harald Nordgren
Wed, 21 Oct 2026 21:36
Re: [RFC PATCH 0/1] worktree list: add --merged and --no-merged
Author: Harald Nordgren
Date: Wed, 21 Oct 2026 21:36
Date: Wed, 21 Oct 2026 21:36
13 lines
11785 bytes
11785 bytes
I wonder if we should relax (or allow relaxing) the requirements on worktree branches overall? I noticed that I can't check out a branch that is checked out in another worktree. Which seems a bit ridiculous because two regular repos of the same upstream would never enforce that. AI loves worktress, so I suspect we'll see more of these discussions in the future. Harald
Re: [RFC PATCH 0/1] worktree list: add --merged and --no-merged
Author: Junio C Hamano
Date: Wed, 21 Oct 2026 22:12
Date: Wed, 21 Oct 2026 22:12
22 lines
13405 bytes
13405 bytes
Harald Nordgren <haraldnordgren@gmail.com> writes: > I wonder if we should relax (or allow relaxing) the requirements on > worktree branches overall? > > I noticed that I can't check out a branch that is checked out in > another worktree. Which seems a bit ridiculous because two regular > repos of the same upstream would never enforce that. Because your repository updating what commit your 'main' points at would not affect my repository if they track the same upstream. Worktrees are different. If you allow your two worktrees to check out the same 'main', and one of them makes a commit on top, you know what happens, right? > AI loves worktress, so I suspect we'll see more of these discussions > in the future. I think that was asked and answered already. "worktree add -d" is your friend.
Re: [RFC PATCH 0/1] worktree list: add --merged and --no-merged
Author: Harald Nordgren
Date: Thu, 22 Oct 2026 07:21
Date: Thu, 22 Oct 2026 07:21
25 lines
12474 bytes
12474 bytes
> > I noticed that I can't check out a branch that is checked out in > > another worktree. Which seems a bit ridiculous because two regular > > repos of the same upstream would never enforce that. > > Because your repository updating what commit your 'main' points at > would not affect my repository if they track the same upstream. > > Worktrees are different. If you allow your two worktrees to check > out the same 'main', and one of them makes a commit on top, you know > what happens, right? I didn't. I read up on it now, and yes it's hairy. I withdraw my point here. > > AI loves worktress, so I suspect we'll see more of these discussions > > in the future. > > I think that was asked and answered already. "worktree add -d" is > your friend. Ok. Harald
Re: [RFC PATCH 0/1] worktree list: add --merged and --no-merged
Author: "Kristoffer Haugsbakk"
Date: Thu, 22 Oct 2026 17:58
Date: Thu, 22 Oct 2026 17:58
7 lines
12963 bytes
12963 bytes
On Wed, Oct 21, 2026, at 23:36, Harald Nordgren wrote: >[snip] > AI loves worktress, so I suspect we'll see more of these discussions > in the future. Is this what mechanical sympathy has come to?
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