git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v7 0/3] includeIf: add "worktree" condition for matching working tree path

From
Patrick Steinhardt <ps@pks.im>
Date
Jul 9, 2026, 10:09 UTC
Message-ID
<ak9zcggAmy205Fz8@pks.im>
In-Reply-To
<20260709-includeif-worktree-v7-0-e87e705e8df6@black-desk.cn>
On Thu, Jul 09, 2026 at 10:41:40AM +0800, Chen Linxuan via B4 Relay wrote:
Show 9 quoted lines
> Changes in v7:
> - Preserve the symlinked spelling of the worktree path and match
>   includeIf "worktree:" against it, so the condition now matches both
>   the symlinked and the real path, consistent with "gitdir:"
>   (Patrick Steinhardt, v6 review).
> - Split the work into a preparatory commit that stores a non-realpath
>   worktree path and a follow-up that wires it into includeIf.
> - Extend symlink test coverage to subdirectories and linked worktrees.
> - Link to v6: https://lore.kernel.org/r/20260703-includeif-worktree-v6-0-a13893ad9a7f@black-desk.cn

One note: it would be nice if you could send newer versions of your patch series in reply to the old version. I see you're using the b4 relay, so this should be configurable via `b4.send-same-thread`.

Thanks!
Patrick
Previous: Chen Linxuan via B4 RelayNext: Junio C Hamano
Message 6 of 7 in “includeIf: add "worktree" condition for matching working tree path”
  1. 0/3 includeIf: add "worktree" condition for matching working tree pathChen Linxuan via B4 Relay, Jul 9, 2026
  2. 2/3 repository: keep a symlink-preserving copy of the worktree pathChen Linxuan via B4 Relay, Jul 9, 2026
  3. Patrick SteinhardtJul 9, 2026
  4. 1/3 config: refactor include_by_gitdir() into include_by_path()Chen Linxuan via B4 Relay, Jul 9, 2026
  5. 3/3 config: add "worktree" and "worktree/i" includeIf conditionsChen Linxuan via B4 Relay, Jul 9, 2026
  6. Patrick SteinhardtJul 9, 2026
  7. Junio C HamanoJul 9, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.