Merge pull request #4721 from dokku/4624-git-submodule-sync

Recursively sync submodules
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2021-08-06 12:43:50 -04:00
commit d1b67f1fff
1 file changed
+1
+1
View File
@@ -567,6 +567,7 @@ fn-git-setup-build-dir-submodules() {
# unset the git quarantine path to allow us to use 2.13.0+ # unset the git quarantine path to allow us to use 2.13.0+
# See this issue for more information: https://github.com/dokku/dokku/issues/2796 # See this issue for more information: https://github.com/dokku/dokku/issues/2796
unset GIT_QUARANTINE_PATH unset GIT_QUARANTINE_PATH
suppress_output fn-git-cmd "$GIT_WORKDIR" submodule sync --recursive
suppress_output fn-git-cmd "$GIT_WORKDIR" submodule update --init --recursive suppress_output fn-git-cmd "$GIT_WORKDIR" submodule update --init --recursive
if [[ "$DOKKU_KEEP_GIT_DIR" != "true" ]]; then if [[ "$DOKKU_KEEP_GIT_DIR" != "true" ]]; then