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 ·

New git-worktree link/junction detection utilities

New checks more reliably detect genuine git worktrees, including broken links on Windows

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

New checks more reliably detect genuine git worktrees, including broken links on Windows

What

Claude Code now has more thorough logic for detecting git worktrees (linked copies of a git repository that share history). It parses the output of git worktree list to confirm a directory is a genuine, uniquely matching worktree, normalizes file paths (handling macOS's Unicode normalization and trailing slashes), and on Windows walks up parent directories checking for reparse points or .lnk shortcut files to determine whether a worktree link is "clear", "missing", or otherwise broken.

Why

This makes worktree detection more reliable across platforms, particularly on Windows where symbolic-link-like mechanisms work differently, reducing false positives or negatives when Claude Code needs to know whether it's operating inside a worktree.

See this entry in the whole of v2.1.269 →