Setting up a worktree now copies files through one guarded path
Copying files, linking folders and copying settings.local.json into a new worktree now share one guarded method, and copy errors name the system error code
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Internal ChangesKind: in v2.1.324,
Internal ChangesSection of the release
What
A worktree is an extra working copy of a git repository in its own folder. When Claude Code sets one up, it copies some files into it. These steps now all go through one shared, guarded way of handling files: