remote-helper: Support push --force-with-lease
Resolves: 3d1250b28ae825841675b85a5c89a9fcd9a91ab5
5 files changed
+126
-7
6d0c571e
→
0ec084fc
added crates/radicle-cli/examples/git/git-push-force-with-lease.md
@@ -0,0 +1,43 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified crates/radicle-cli/examples/rad-patch-via-push.md
@@ -9,7 +9,7 @@ Switched to a new branch 'feature/1'
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203,10 +203,10 @@ hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands.rs
@@ -2426,6 +2426,49 @@ fn git_push_amend() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/main.rs
@@ -240,6 +240,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -278,6 +279,10 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -301,6 +306,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/push.rs
@@ -251,6 +251,7 @@ pub fn run(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -341,6 +342,7 @@ pub fn run(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -361,6 +363,7 @@ pub fn run(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -512,7 +515,14 @@ impl<'a> TempPatchRef<'a> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -655,7 +665,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -681,6 +691,7 @@ fn patch_update<G>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -709,7 +720,14 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -758,6 +776,7 @@ fn push<G>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -767,7 +786,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -950,6 +969,7 @@ fn push_ref(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -963,6 +983,13 @@ fn push_ref(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|