Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.222 ·

Git diffs ignore external diff drivers and textconv filters

Diffs now ignore your repo's custom diff drivers, so Claude sees the real file contents.

You'll notice No documentation found Improvements
JSON All of v2.1.222
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.222,
ImprovementsSection of the release
What

Diff reads now pass --no-ext-diff and --no-textconv, so a repo's own git configuration cannot change the content Claude sees when computing patches.

Details
  • New exported constant RAW_BLOB_DIFF_FLAGS = ["--no-ext-diff", "--no-textconv"].
  • Spread into the git diff invocations used for whole patches and per-file hunks.
  • Includes the --no-optional-locks diff calls, which previously passed no such flags.
Evidence

RAW_BLOB_DIFF_FLAGS

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

Read from
Names in the bundle--no-ext-diff--no-textconv

See this entry in the whole of v2.1.222 →

Feedback