You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
Unclear It is not clear whether the switch for the second check is on.
What
A worktree is a second copy of a git repository checked out in its own folder. Claude Code now refuses to create one in two cases:
The shell is in a folder outside the session's working folders.
The shell is in a repository that the session only holds part of. The message says: "A worktree would open that repository's whole git folder to writes, so no worktree was made."
The second check is behind a switch.
Why
This is a new guard on creating worktrees. Creating one could open a whole repository's git folder to changes, beyond the folders the session was given.
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 doubtIt is not clear whether the switch for the second check is on.