Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.332 ·

Changed-file counts now try a single git command first

Claude Code now tries one combined git diff call to count changed files and lines, and falls back to two calls when the output is too big

Under the hood Internal Changes
JSON All of v2.1.332
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.332,
Internal ChangesSection of the release
What

To work out how many files and lines have changed in a repository, Claude Code used to run git diff --shortstat and then a separate git diff --raw --numstat. It now tries one combined git diff --raw --numstat --shortstat call, with a limit on how much output it will read.

If the output goes over that limit, Claude Code falls back to the old two-step approach. It remembers per repository whether the single call works, so it does not keep retrying one that overflows.

Why

Running one git command instead of two means less work, which matters most in large repositories.

See this entry in the whole of v2.1.332 →

Feedback