From: Junio C Hamano Date: Thu, 09 Jul 2026 20:40:21 GMT Subject: Re: [PATCH v7 0/3] includeIf: add "worktree" condition for matching working tree path Message-ID: In-Reply-To: <20260709-includeif-worktree-v7-0-e87e705e8df6@black-desk.cn> Chen Linxuan via B4 Relay writes: > The `includeIf` mechanism already supports matching on the `.git` > directory path (`gitdir`) and the currently checked out branch > (`onbranch`). But in multi-worktree setups the `.git` directory of a > linked worktree points into the main repository's `.git/worktrees/` > area, which makes `gitdir` patterns cumbersome when one wants to > include config based on the working tree's checkout path instead. Thanks. This seems to break t1305 when merged to 'seen', even though all of them pass standalone. I did not have time to figure out what interactions with which other topic are causing the breakages.