radicle-heartwood-lfs/radicle-remote-helper/src
Fintan Halpenny f9d9bdf8cd
cli: fix update hint
The hint for updating a patch incorrectly printed:

    git push rad -f HEAD:rad/patches/<patch id>

The remote, `rad`, is already specified so the the right hand side of
the refspec should only be `patches/<patch id>`.

Fix this by stripping the remote from the name of the branch in the
remote helper.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-12-20 15:10:13 +01:00
..
fetch.rs remote-helper: Fix `FETCH_HEAD` setting on fetch 2023-11-22 11:29:44 +01:00
git-remote-rad.rs remote-helper: Be more consistent with errors 2023-09-27 12:25:14 +02:00
lib.rs cli: Don't sync on git-fetch 2023-12-13 14:47:14 +01:00
list.rs cob: Introduce `xyz.radicle.id` COB 2023-10-12 17:32:33 +02:00
push.rs cli: fix update hint 2023-12-20 15:10:13 +01:00