We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185f797 commit aaad48eCopy full SHA for aaad48e
lib/functions/general/git.sh
@@ -296,7 +296,12 @@ function fetch_from_repo() {
296
297
display_alert "Updating submodule" "${name} - ${surl} - ${sref}" "git"
298
git_ensure_safe_directory "$workdir/$path"
299
- fetch_from_repo "$surl" "$workdir/$path" "$sref"
+
300
+ if [[ "${GIT_FIXED_WORKDIR}" != "" ]]; then
301
+ GIT_FIXED_WORKDIR="${GIT_FIXED_WORKDIR}/${path}" fetch_from_repo "$surl" "$workdir/$path" "$sref"
302
+ else
303
+ fetch_from_repo "$surl" "$workdir/$path" "$sref"
304
+ fi
305
306
done < <(git config -f .gitmodules --get-regexp 'submodule\..*\.path')
307
fi
0 commit comments