{"version":"2.1.288","anchor":"deleted-file-diff-handling-and-git-head-read","canonical_anchor":"deleted-file-diff-handling-and-git-head-read","heading":"Deleted files are skipped in more cases when building a diff","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/deleted-file-diff-handling-and-git-head-read","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288","markdown":"### Deleted files are skipped in more cases when building a diff\n\nClaude Code now skips deleted files in a diff in more cases, and reads a worktree's current Git commit from its HEAD file\n\n**Unclear.** What the new check for skipping deleted files tests is not known.\n\n**What**\n\nWhen Claude Code builds a list of changed files, it can leave out files that were deleted. It used to do this in one case only. It now also leaves them out when an additional check says so.\n\nSeparately, when working in a Git worktree, which is a second working copy of the same repository, Claude Code now reads Git's HEAD file, the file that records which commit or branch is checked out.\n\n**Why**\n\nThis may change how deleted or renamed files are reported in lists of changes.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}