radicle-heartwood-lfs/radicle-cli
Fintan Halpenny 48aa725bea
cli: Add `--base` option to `rad patch update`
Allow the CLI user to update a patch's base commit through the `rad
patch update` command.

There was check to see if the head of the branch was the same as the
head of the revision, which would result in the update being skipped.
This was adapted to check that the head *and* the base were the same.

A test was added in the examples to showcase this use.

Signed-off-by: Fintan Halpenny <Fintan Halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-12-19 15:00:27 +01:00
..
examples cli: Add `--base` option to `rad patch update` 2023-12-19 15:00:27 +01:00
src cli: Add `--base` option to `rad patch update` 2023-12-19 15:00:27 +01:00
tests cli: Add `--base` option to `rad patch update` 2023-12-19 15:00:27 +01:00
Cargo.toml git: update git2-0.18.1 2023-12-04 11:11:36 +00:00