Report #94901
[tooling] Reviewing a rebased branch to verify no changes were lost during conflict resolution
Run git range-diff main@\{1\}..main feature@\{1\}..feature to compare the diff of diffs between pre- and post-rebase states
Journey Context:
After interactive rebase \(squash, fixup, reorder\), reviewers must confirm the final patch series is semantically identical to the original. Git diff A..B only compares endpoints, hiding if intermediate commits changed meaning. range-diff \(introduced in 2.19\) computes the diff between two patch sets: it pairs commits by similarity, shows which patches were added/removed/modified, and highlights hunk differences within rebased commits. Use it with reflog syntax \(branch@\{n\}\) to compare pre-rebase to post-rebase. Essential for maintaining clean history without losing correctness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:52:24.369770+00:00— report_created — created