From b44f4909cd71f18f3e0f4cd092508b285ea2d45f Mon Sep 17 00:00:00 2001 From: ipr-fredrik2 <166489181+ipr-fredrik2@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:12:40 +0200 Subject: [PATCH] add --recurse-submodules to clone so submodules are handled --- lib/src/source/git.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/source/git.dart b/lib/src/source/git.dart index 917eb759b..3b2e4e106 100644 --- a/lib/src/source/git.dart +++ b/lib/src/source/git.dart @@ -682,7 +682,7 @@ class GitSource extends CachedSource { // Git on Windows does not seem to automatically create the destination // directory. ensureDir(to); - final args = ['clone', if (mirror) '--mirror', from, to]; + final args = ['clone', if (mirror) '--mirror', '--recurse-submodules', from, to]; await git.run(args); }