{"version":"2.1.265","anchor":"diff-hunk-generation-now-skips-non-regular-files-instead-of","canonical_anchor":"diff-hunk-generation-now-skips-non-regular-files-instead-of","heading":"Diff-hunk generation now skips non-regular files instead of marking them 'restricted'","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/diff-hunk-generation-now-skips-non-regular-files-instead-of","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### Diff-hunk generation now skips non-regular files instead of marking them 'restricted'\n\nDiffing uncommitted changes now silently skips symlinks and other non-regular files\n\n**What**\n\nWhen Claude Code computes diff hunks to show context about uncommitted changes, files that aren't regular files (such as symlinks or device files) are now classified as `not-regular-file` and skipped silently. Previously, these files were grouped into a 'restricted' list, which meant they were surfaced to the user.\n\n**Why**\n\nThis keeps diff output focused on actual file changes, quietly leaving out entries for symlinks and similar special files instead of flagging them as restricted.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5"}