{"version":"2.1.335","anchor":"git-diffs-set-diffsuppressblankemptyfalse","canonical_anchor":"git-diffs-set-diffsuppressblankemptyfalse","heading":"Diffs display correctly even if your git config sets diff.suppressBlankEmpty","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/git-diffs-set-diffsuppressblankemptyfalse","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Diffs display correctly even if your git config sets diff.suppressBlankEmpty\n\nClaude Code now overrides `diff.suppressBlankEmpty` when it runs git diff, so your git config no longer changes how it reads diffs\n\n**What**\n\nWhen 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.\n\n**Why**\n\nIf 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.\n\n- Area: Git\n- Names: `diff.suppressBlankEmpty`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}