Update git submodules
This commit is contained in:
12
src/git.rs
12
src/git.rs
@@ -55,7 +55,17 @@ impl Git {
|
|||||||
.arg("pull")
|
.arg("pull")
|
||||||
.arg("--rebase")
|
.arg("--rebase")
|
||||||
.arg("--autostash")
|
.arg("--autostash")
|
||||||
.current_dir(path)
|
.current_dir(&path)
|
||||||
|
.spawn()?
|
||||||
|
.wait()?
|
||||||
|
.check()?;
|
||||||
|
|
||||||
|
Command::new(&git)
|
||||||
|
.arg("submodule")
|
||||||
|
.arg("update")
|
||||||
|
.arg("--init")
|
||||||
|
.arg("--recursive")
|
||||||
|
.current_dir(&path)
|
||||||
.spawn()?
|
.spawn()?
|
||||||
.wait()?
|
.wait()?
|
||||||
.check()?;
|
.check()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user