From 41993b65a9e5908ee1a97836b97e32f439ae8846 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 21 May 2019 17:27:52 +0200 Subject: [PATCH] Recurse submodules --- src/git.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/git.rs b/src/git.rs index 1a4c00e..cfde924 100644 --- a/src/git.rs +++ b/src/git.rs @@ -119,7 +119,12 @@ fn clone_dirty>(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();