commit 856915a9558fb44afab21fc229b09833b77e92c2
parent 2cc3f7396f35ee0e4a48baa16fe9b62308d410e9
Author: Florian Dold <florian@dold.me>
Date: Fri, 20 Sep 2024 12:46:08 +0200
bootstrap: recurse submodules
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap
@@ -8,6 +8,10 @@ if ! git --version >/dev/null; then
exit 1
fi
+# Make sure that "git pull" et al. also update
+# submodules to avoid accidental rollbacks.
+git config --local submodule.recurse true
+
echo "$0: Updating submodules"
# Caution: We do NOT want to fetch the latest version with --remote,
# but instead always the one that's recorded in the repository.