Skip to content

Commit 43ec425

Browse files
committed
Remove --recursive from submodules update
Now that `api` repos have nested submodules when using `frequenz-api-common` we actually want to avoid fetching submodules recursively because otherwise we'll end up with google protos twice. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 4d2c460 commit 43ec425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookiecutter/hooks/post_gen_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def mkdir(self) -> None:
193193
note_on_failure=f"Please add submodule `{submodule.name}` manually.",
194194
)
195195
try_run(
196-
["git", "submodule", "update", "--init", "--recursive"],
196+
["git", "submodule", "update", "--init"],
197197
verbose=True,
198198
warn_on_error=True,
199199
warn_on_bad_status="Failed to initialize git submodules!",

0 commit comments

Comments
 (0)