There was an error while loading. Please reload this page.
2 parents ba5c10d + 9dd0081 commit 271328fCopy full SHA for 271328f
1 file changed
git/repo/base.py
@@ -520,7 +520,7 @@ def iter_submodules(self, *args: Any, **kwargs: Any) -> Iterator[Submodule]:
520
"""
521
return RootModule(self).traverse(*args, **kwargs)
522
523
- def submodule_update(self, *args: Any, **kwargs: Any) -> Iterator[Submodule]:
+ def submodule_update(self, *args: Any, **kwargs: Any) -> RootModule:
524
"""Update the submodules, keeping the repository consistent as it will
525
take the previous state into consideration.
526
0 commit comments