Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

Worktree registration cleanup/dedup helpers added

New internal helpers clean up stale git worktree registrations

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGit Worktreeswhat it touches
KindInternal Changesin v2.1.269,
Under the hood

New internal helpers clean up stale git worktree registrations

What

Two new helper functions manage bookkeeping for git worktrees (linked working copies of a repository): one decides whether a worktree entry should be kept or removed, checking whether it's the main worktree, belongs to another machine, resolves through a symlink, or no longer exists on disk; another checks that the local git version is at least 2.36 before relying on certain worktree command behavior.

Why

This should reduce stale or invalid worktree entries lingering in Claude Code's records, and avoids relying on git worktree behavior that older git versions don't support.

See this entry in the whole of v2.1.269 →