{"version":"2.1.335","anchor":"diff-stats-treat-line-capped-files-as-large","canonical_anchor":"diff-stats-treat-line-capped-files-as-large","heading":"Diff views count lines more accurately and mark line-capped files as large","tier":"notice","area":"Diff","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/diff-stats-treat-line-capped-files-as-large","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Diff views count lines more accurately and mark line-capped files as large\n\nDiff line counts skip +++ and --- header lines, and files in the lineCapped set are now flagged as large and truncated\n\n**What**\n\nA diff shows the lines that changed in a file. Claude Code's diff counts and diff view changed.\n\n- The line counter no longer counts `+++` and `---` header lines as changes, and it starts over at each `diff --git` line.\n\n- A file listed in `lineCapped` is now marked as truncated in the diff view.\n\n- A file is now flagged as large when `hunks.lineCapped` contains it, as well as when its number of changed lines is over the limit. Before, only the limit was checked.\n\n**Why**\n\nChanged-line counts are more accurate, and very large diffs are cut off more consistently.\n\n- Area: Diff\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}