From d1681b6b465a8abada9aa11c1264c77c0bf855a6 Mon Sep 17 00:00:00 2001 From: Evan Rittenhouse <84083822+evanrittenhouse@users.noreply.github.com> Date: Tue, 23 Aug 2022 11:07:15 -0500 Subject: [PATCH] fix: add --recurse-submodules to checkout module (#439) Co-authored-by: Bartosz Sokorski --- src/poetry/core/vcs/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poetry/core/vcs/git.py b/src/poetry/core/vcs/git.py index 1a7c48dad..aeccdf37c 100644 --- a/src/poetry/core/vcs/git.py +++ b/src/poetry/core/vcs/git.py @@ -292,7 +292,7 @@ def checkout(self, rev: str, folder: Path | None = None) -> str: self._check_parameter(rev) - args += ["checkout", rev] + args += ["checkout", "--recurse-submodules", rev] return self.run(*args)