remote-helper: Parse base revision early
Translation of the string passed as the value for push-option base happens delayed.
Change this by parsing as soon as the value is written.
This also decreases the dependency fingerprint on radicle-cli.
2 files changed
+20
-7
ef279618
→
43246fe6
modified crates/radicle-remote-helper/src/main.rs
@@ -33,7 +33,6 @@ use radicle::storage::{ReadRepository, WriteStorage};
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -78,7 +77,10 @@ fn main() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -162,7 +164,7 @@ pub struct Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -299,8 +301,19 @@ fn push_option(args: &[&str], opts: &mut Options) -> Result<(), Error> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-remote-helper/src/push.rs
@@ -506,7 +506,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -638,7 +638,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|