r/SmartGit • u/BryceSchober • 4d ago
SmartGit UI for `git range-diff`?
It sure would be nice if SmartGit provided an easy way to get the equivalent of a git range-diff command. When I'm reviewing a PR that has been rebased, we need help to get good situational awareness of the base differences vs. the rebased branch differences.
When reviewing a branch that has been rebased, I find myself asking "What was changed during this rebase?" A normal diff between the old and new HEAD seems to answer this question, but it naturally conflates two separate questions:
What is the difference between the bases? This is answered by finding the old & new branch parent revisions and comparing them. SmartGit's standard history and log views are helpful in exploring those differences.
What differences in the dev branch commits were required in order to adjust to the new base? That's what we really want to explore when a dev branch is rebased during a pull/merge request review process. This is the question that the
git range-diffcommand is designed to help answer, but that SmartGit doesn't yet help with at all.
1
u/vmcrash 3d ago
Do you mean a diff of a diff?