{"version":"2.0.74","anchor":"large-git-diff-performance-optimization","canonical_anchor":"large-git-diff-performance-optimization","heading":"Large Git Diff Performance Optimization","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.74\/e\/large-git-diff-performance-optimization","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.74","markdown":"### Large Git Diff Performance Optimization\n\nWhen working with large diffs (>500 files changed), Claude Code now uses `git diff --shortstat` first to quickly determine file counts before fetching full diff details. This prevents timeouts on very large changesets.\n\n**Evidence**\n\n`ks5()` at line 448558 (parses shortstat format with `filesCount`, `linesAdded`, `linesRemoved`), modified `Pl2()` at line 448405 (uses `Ps5 = 500` threshold)"}