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("--rebase")
|
||||
.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()?
|
||||
.wait()?
|
||||
.check()?;
|
||||
|
||||
Reference in New Issue
Block a user