Follow Discord
Sweep 30 Oct 2026 · 01:02Z Build v2.1.314 532 read Stable v2.1.308 Latest v2.1.314 Next v2.1.314 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.314 ·

Git commands run by Claude Code now stop git diff from refreshing the index

Claude Code's git safety overrides now also set diff.autoRefreshIndex to false, so git diff no longer writes to the index

You'll notice Improvements
JSON All of v2.1.314
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
ImprovementsKind: in v2.1.314,
ImprovementsSection of the release
What

The list of configuration overrides Claude Code applies to the git commands it runs behind the scenes now also sets diff.autoRefreshIndex to false. It sits alongside the existing gc.auto=0 and maintenance.auto=false overrides. With it, git's diff commands no longer refresh the index, which is git's record of the files staged for the next commit, so they make no writes to it.

Why

It cuts down on files that Claude Code's own git commands change as a side effect, so checking your repository does not quietly modify it.

See this entry in the whole of v2.1.314 →

Feedback