{"version":"2.1.314","anchor":"git-index-diff-commands-now-pass-diffautorefreshindextrue","canonical_anchor":"git-index-diff-commands-now-pass-diffautorefreshindextrue","heading":"Git diffs now refresh the file index first","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/git-index-diff-commands-now-pass-diffautorefreshindextrue","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Git diffs now refresh the file index first\n\nClaude Code now passes `diff.autoRefreshIndex=true` to git when it compares files, alongside `core.splitIndex=false`\n\n**What**\n\nWhen Claude Code runs git to compare your files, it already added the option `core.splitIndex=false`. It now also adds `diff.autoRefreshIndex=true`, which makes git refresh its record of your files before comparing them.\n\n**Why**\n\nDiffs should match what is actually in your files more reliably.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}