Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.282 ·

An internal git diff now ignores your personal diff settings

One of Claude Code's own git diff calls now always sets colour, path prefixes and submodule display, so your Git settings cannot change it

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

Unclear It is not clear which feature uses this diff, or which of these options it already passed before.

What

One git diff command that Claude Code runs for its own use now always passes these options:

  • --no-color
  • --src-prefix=a/
  • --dst-prefix=b/
  • --submodule=short

Your own Git settings for colour, file path prefixes or how submodules are shown therefore cannot change what this command outputs.

Why

In practice, Claude Code gets the same diff format whatever your Git settings are, which may fix diffs being read wrongly for people with customised settings.

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 doubtIt is not clear which feature uses this diff, or which of these options it already passed before.

See this entry in the whole of v2.1.282 →

Feedback