remote-helper: Print `git range-diff` Invocation
When a patch is updated to a new revision (but not merged), print the corresponding git range-diff invocation.
When a patch is updated to a new revision (but not merged), print the corresponding git range-diff invocation.
Also adjust tests.
Introduce struct RangeDiff.
Changes:
- Use
PatchMut::new - Fix bug in checking if
RangeDiffhas the same base, also extracting it into a helper
Fixes after review.
Remove backticks around command and fix tests.
Rebased