Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Leaving a worktree no longer hangs on a slow git check

The worktree exit dialog now stops waiting when git is slow to count uncommitted files or commits, instead of stalling

You'll notice Bug Fixes
JSON All of v2.1.336
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.336,
Bug FixesSection of the release
What

A worktree is a second working copy of a repository in its own folder. When you leave a worktree session, Claude Code checks for uncommitted files and unmerged commits before asking what to do. These checks now have time limits.

If git takes too long to list files, the dialog says there are "an unknown number of uncommitted files, perhaps none (git took too long to list them)". The message after removal says that any uncommitted changes were discarded. Before, there was no time limit, and a failed check showed only a "could not be counted" message.

Why

Leaving a worktree session in a very large repository no longer stalls while git works.

See this entry in the whole of v2.1.336 →

Feedback