Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Untrusted-repository error for worktrees names the main repository folder

When a worktree can't be made because the repository isn't trusted, the error now names the main repository folder, not the worktree path

You'll notice Improvements
JSON All of v2.1.337
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
What

A worktree is an extra working folder linked to the same git repository. Claude Code refuses to make one in a repository you have not marked as trusted. When the folder you pointed at and the repository's main folder differ, the error message now names the main folder rather than the path you passed.

Why

The message now points at the folder you actually need to trust.

See this entry in the whole of v2.1.337 →

Feedback