🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
1 messages
1 total messages Started by "Anders Kaseorg" Wed, 11 Nov 2026 06:48
Re: [PATCH v3 2/2] worktree: notify post-worktree hook when pruning
#2903
Author: "Anders Kaseorg"
Date: Wed, 11 Nov 2026 06:48
14 lines
8772 bytes
On 10/4/26 16:09, Domen Kožar wrote:
> +	sed "s/w2/w1/" .git/worktrees/w2/gitdir >.git/worktrees/w2/gitdir.new &&
> +	mv .git/worktrees/w2/gitdir.new .git/worktrees/w2/gitdir &&
This substitution misfires if we’re inside a path containing another 
‘w2’ as a substring.  How about

     cp .git/worktrees/w1/gitdir .git/worktrees/w2/gitdir &&

(There’s already another instance of this bug in 
t2401-worktree-prune.sh, and I observed that failing in 
https://launchpad.net/~git-core/+archive/ubuntu/candidate/+build/33960210.)

Anders
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