Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Diffs display correctly even if your git config sets diff.suppressBlankEmpty

Claude Code now overrides diff.suppressBlankEmpty when it runs git diff, so your git config no longer changes how it reads diffs

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

When Claude Code runs git diff to see what changed in your files, it now passes -c diff.suppressBlankEmpty=false. That turns off the diff.suppressBlankEmpty git option for that one command only. Your own git configuration is not touched. Claude Code always reads the diff output the same way, whatever you have set.

Why

If you had diff.suppressBlankEmpty switched on in your git config, it could throw off how Claude Code read and displayed diffs. That no longer happens.

Read from
Names in the bundlediff.suppressBlankEmpty
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed /diff leaving out blank lines and showing wrong line numbers when git's diff.suppressBlankEmpty is on

See this entry in the whole of v2.1.335 →

Feedback