Browse Source

Recurse submodules

master
Thomas Forgione 3 months ago
parent
commit
41993b65a9
Signed by: Thomas Forgione <thomas@forgione.fr> GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/git.rs

+ 6
- 1
src/git.rs View File

@@ -119,7 +119,12 @@ fn clone_dirty<P: AsRef<Path>>(url: &str, place: P) -> Result<()> {
}

let command = Command::new("git")
.args(&["clone", &url, &place.display().to_string()])
.args(&[
"clone",
"--recurse-submodules",
&url,
&place.display().to_string()
])
.stderr(Stdio::null())
.status();


Loading…
Cancel
Save