Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Git snapshots and restores now fold a split index before using it

Claude Code now runs git update-index --no-split-index on a copied git index that may be split before reading it

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

What

Git's index is the file that records what is staged for the next commit. With the core.splitIndex setting, git stores the index in two files instead of one. Claude Code now handles this case when it takes a snapshot of your repository and after it applies or restores changes.

  • A helper that runs after git apply or restore now reports maybeSplit. This is set when files were processed and the index shows a split-index marker, and also when the check itself hits an error. Before, the helper returned nothing.
  • When the copied index may be split, the snapshot code runs git update-index --no-split-index to merge it back into one file. If that fails, the snapshot stops with the error "could not fold the copied index whole".
  • The snapshot now reads the current commit (HEAD) before it processes unmerged entries, which are files with unresolved merge conflicts. Before, it read HEAD afterwards.

Why

In repositories that use core.splitIndex, snapshots and restores work from the full index instead of only part of it. If the index cannot be merged back into one file, the snapshot now fails with an error.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say when Claude Code takes these git snapshots.

See this entry in the whole of v2.1.281 →

Feedback