You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.312,
ImprovementsSection of the release
Unclear Which Claude Code feature this file scanning serves is not known.
What
A 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.
Why
This may fix file tracking or file listing when a session is running inside a worktree.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich Claude Code feature this file scanning serves is not known.