cli/patch: Show Commit Ranges of Revisions

Each revision now shows a `{base}..{head}` range instead of just the
head.  This is meant to clarify when a patch is rebased, and to be
helpful when one might want to observe changes using 'git range-diff'.
This commit is contained in:
Richard Levitte
2026-04-02 14:08:44 +01:00
committed by Fintan Halpenny
parent b8f8cfb319
commit 91590a3287
17 changed files with 549 additions and 537 deletions
+9
View File
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## New Features
- Teach `rad patch show` to show the full commit range for each revision.
Previously, it would only show the head of the range, but not the base.
It now shows `<base>..<head>`, where the shortened OID is used when not
using `--verbose`, and the full OID when using `--verbose`.
These ranges make using `git range-diff` a lot easier, since you can copy
the range from each revision you want to compare.
## 1.8.0
## New Features