{"version":"2.1.312","anchor":"worktree-aware-file-change-handling-in-sq","canonical_anchor":"worktree-aware-file-change-handling-in-sq","heading":"File change scanning now takes git worktrees into account","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/worktree-aware-file-change-handling-in-sq","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### File change scanning now takes git worktrees into account\n\nWhen a session runs in a git worktree, Claude Code now scans for file changes using both the folder and the worktree instead of the folder alone\n\n**Unclear.** Which Claude Code feature this file scanning serves is not known.\n\n**What**\n\nA git worktree is a second working copy of a repository checked out in its own folder. Claude Code now works out the session's folder and its git worktree separately. When both belong to the same repository, it scans for file changes using both of them, instead of always using the original folder.\n\n**Why**\n\nThis may fix file tracking or file listing when a session is running inside a worktree.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}