You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show rename origin and render rename-aware diffs #222
When reviewing a renamed file, revdiff shows only the new filename. In staged rename cases, the diff can also render the file as entirely added/changed instead of showing only the actual line changes.
This makes rename reviews noisy and hides important context: reviewers cannot see old/path -> new/path, and content-preserving or lightly edited renames appear much larger than they are.
fixed in #223 (merged to master). Renamed files now diff against their origin instead of showing every line as added, and the diff pane header shows old → new.
works across --staged, single-ref, and two-ref git modes. The root cause was the per-file git diff -- <newpath> stripping the old side before git could pair the rename. Rename detection is now forced with -M, so it works regardless of your diff.renames config.
the file tree keeps the compact R new/path, the origin shows in the diff header as you suggested.
hg and jj don't report a rename origin today, so rename-aware display for those is a separate follow-up.
Activity
feat: rename-aware diffs with old → new origin header (#223)
umputun commentedon Jun 6, 2026
fixed in #223 (merged to master). Renamed files now diff against their origin instead of showing every line as added, and the diff pane header shows
old → new.works across
--staged, single-ref, and two-ref git modes. The root cause was the per-filegit diff -- <newpath>stripping the old side before git could pair the rename. Rename detection is now forced with-M, so it works regardless of yourdiff.renamesconfig.the file tree keeps the compact
R new/path, the origin shows in the diff header as you suggested.hg and jj don't report a rename origin today, so rename-aware display for those is a separate follow-up.