From 287a920d1277d8f59a77bb324c2b6977e89b76f2 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Sun, 3 Sep 2023 20:51:16 +0200 Subject: [PATCH] cli: Add `rad patch set` command Sets the current branch's upstream to point to the given patch. This allows for pushes to update the patch. When opening a patch, if the current branch already has an upstream, it isn't updated automatically. This is why this command exists. --- rad-patch.1.adoc | 11 +++++++++++ radicle-cli/src/commands/patch.rs | 19 +++++++++++++++++++ radicle-cli/src/commands/patch/checkout.rs | 2 +- radicle-remote-helper/src/push.rs | 2 +- radicle/src/rad.rs | 3 ++- 5 files changed, 34 insertions(+), 3 deletions(-) diff --git a/rad-patch.1.adoc b/rad-patch.1.adoc index cc6bd92b..0dd7a811 100644 --- a/rad-patch.1.adoc +++ b/rad-patch.1.adoc @@ -22,6 +22,7 @@ rad-patch - Manage radicle patches. *rad patch* _redact_ [