From bb5fb5e9d9de66731cb1d717a51005fc8c64c9f5 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Fri, 24 Nov 2023 15:40:19 +0000 Subject: [PATCH] cli: fix rad-push-and-pull-patches The call to `rad sync -a` can end up with different output if the `git push` has already announced to the network -- ending up with the nodes already be in sync. Instead, for consistency, leave the syncing up to the `git push` and remove the call to `rad sync`. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- radicle-cli/examples/rad-push-and-pull-patches.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/radicle-cli/examples/rad-push-and-pull-patches.md b/radicle-cli/examples/rad-push-and-pull-patches.md index 42765151..c0880225 100644 --- a/radicle-cli/examples/rad-push-and-pull-patches.md +++ b/radicle-cli/examples/rad-push-and-pull-patches.md @@ -5,8 +5,6 @@ $ git push rad $ git checkout -b bob/1 -q $ git commit --allow-empty -m "Changes #1" -q $ git push -o patch.message="Changes" rad HEAD:refs/patches -$ rad sync -a -✓ Synced with 1 node(s) ``` ``` ~alice