From: Yoichi Nakayama Date: Wed, 05 Aug 2026 12:30:33 GMT Subject: Re: [PATCH v2] worktree add: shouldn't dwim if -b or -B is given Message-ID: In-Reply-To: On Wed, Aug 5, 2026 at 9:16 PM Yoichi NAKAYAMA via GitGitGadget wrote: > Range-diff vs v1: > > 1: 908a32fb56 ! 1: b00f6c2fa1 worktree add: shouldn't dwim if -b or -B is given > @@ Metadata > ## Commit message ## > worktree add: shouldn't dwim if -b or -B is given > > - 'git worktree add ' DWIMs to a > + git worktree add DWIMs to a > remote-tracking branch when neither -b, -B, nor --detach > is given. > > - However, 'git worktree add -b ' can > + However, git worktree add -b can > still DWIM , causing to be ignored. > > This is a regression introduced in v2.42.0 I accidentally removed the quotes in the commit message. I'll fix it. -- Yoichi NAKAYAMA