clone_or_update initializes all submodules if none given

This commit is contained in:
Piotr Szulc 2024-08-19 22:48:35 +02:00
parent 10147d8e0e
commit 349ef15c80

View file

@ -80,6 +80,10 @@ def clone_or_update(
run_git_command(
["git", "submodule", "update", "--init"] + submodules, str(repo_dir)
)
else:
run_git_command(
["git", "submodule", "update", "--init"], str(repo_dir)
)
else:
# Check refresh needed