Debug info about found submodules

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-08-03 00:03:15 +02:00
parent 941a89b7dd
commit d57d6c4f8b
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31

View File

@ -100,6 +100,7 @@ class Cloner:
continue
discovered = repo_tool.list_submodules(commit)
if discovered:
log.debug(f"Commit refers to {len(discovered)} submodules")
for submodule in discovered:
if submodule not in submodule_list:
log.warning(f"Found new submodule: {submodule}")