cli: Setup tracking branch on `rad patch checkout`
modified radicle-cli/examples/rad-patch.md
@@ -107,6 +107,7 @@ Now, let's checkout the patch that we just created:
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cli/examples/workflow/5-patching-maintainer.md
@@ -58,17 +58,20 @@ way will tell others about the corrections we needed before merging the
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -76,8 +79,8 @@ Great, all fixed up, lets merge the code.
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -95,20 +98,20 @@ $ rad patch show 50e29a1
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/examples/workflow/6-pulling-contributor.md
@@ -18,22 +18,19 @@ Now let's checkout `master` and pull the maintainer's changes:
|
|
|
|
|
|
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified radicle-cli/src/commands/patch/checkout.rs
@@ -2,10 +2,10 @@ use anyhow::anyhow;
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,10 +32,20 @@ pub fn run(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -52,7 +62,6 @@ fn find_patch_commit<'a>(
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified radicle-remote-helper/src/push.rs
@@ -325,34 +325,9 @@ fn patch_open<G: Signer>(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/rad.rs
@@ -6,6 +6,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -317,6 +318,46 @@ pub fn repo(path: impl AsRef<Path>) -> Result<(git2::Repository, Id), RemoteErro
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|