remote-helper: Patch message option when pushing
modified radicle-cli/examples/rad-patch-via-push.md
@@ -7,8 +7,8 @@ When we push to this ref, a patch is created from our commits.
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -16,15 +16,17 @@ To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkE
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -37,7 +39,7 @@ branch associated with this patch:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,7 +47,7 @@ Let's check that it's up to date with our local head:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -57,13 +59,13 @@ $ git show-ref
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -82,7 +84,7 @@ We see both branches with upstreams now:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -94,8 +96,8 @@ $ rad patch
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
modified radicle-remote-helper/src/lib.rs
@@ -15,6 +15,7 @@ use thiserror::Error;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -57,6 +58,8 @@ pub enum Error {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -101,13 +104,21 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -130,7 +141,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-remote-helper/src/push.rs
@@ -120,7 +120,7 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,7 +172,7 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -180,7 +180,17 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -224,6 +234,7 @@ pub fn run(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -244,8 +255,8 @@ fn patch_open<G: Signer>(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -324,6 +335,7 @@ fn patch_open<G: Signer>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -349,7 +361,7 @@ fn patch_update<G: Signer>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|