{"version":"2.1.329","anchor":"git-diff-rename-handling-across-branch-comparison","canonical_anchor":"git-diff-rename-handling-across-branch-comparison","heading":"Renamed and copied files line up correctly in branch diffs","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/git-diff-rename-handling-across-branch-comparison","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Renamed and copied files line up correctly in branch diffs\n\nBranch diffs now match renamed or copied files between the branch comparison and your work since the last commit, instead of matching by path only\n\n**What**\n\nWhen Claude Code shows the differences on a branch, it combines two views: the comparison against the branch, and the work done since HEAD (your most recent commit). Before, it matched rows from these two views by file path only. It now also matches files that were renamed or copied, and keeps track of rows that one view replaces in the other.\n\nThe descriptions Claude reads for the new path and previous path fields of this diff were rewritten to match.\n\n**Why**\n\nA renamed file now shows up as one renamed file, rather than as an unrelated deletion and addition.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}