Skip to content

Commit

Permalink
Apply git submodule sync recusively
Browse files Browse the repository at this point in the history
This should fix build errors where a maintainer uploaded a second level submodule first with a git/ssh remote
  • Loading branch information
dreua committed Jan 4, 2024
1 parent df5a5dd commit d8455bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/steps/source/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def computeSourceRevision(self, changes):
def _syncSubmodule(self, _=None):
rc = RC_SUCCESS
if self.submodules:
rc = yield self._dovccmd(['submodule', 'sync'])
rc = yield self._dovccmd(['submodule', 'sync', '--recursive'])
return rc

@defer.inlineCallbacks
Expand Down

0 comments on commit d8455bc

Please sign in to comment.