Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Worktree sync writes the whole tree in sparse-checkout repositories

You'll notice
Useful2 Signal1
Elsewhere

Worktree sync now writes the complete tree in repositories using sparse checkout.

What

The worktree sync step that writes merged state now forces sparse checkout off for its own git call, so a repository using sparse checkout no longer ends up with only part of the synced state written.

Details
  • The read-tree --reset -u call gains core.sparseCheckout=false, core.sparseCheckoutCone=false and index.sparse=false.
  • Unconditional on that code path; no flag involved.
Evidence

core.sparseCheckoutCone=false

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.247 →