commit af551c981b4b96356d9dd7edd7d251605c0df56c
parent e9d48fd57d55f940063287f3d960f5f0fa491d51
Author: Florian Dold <florian@dold.me>
Date: Fri, 20 Sep 2024 12:42:05 +0200
bootstrap: recurse submodules
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap
@@ -12,6 +12,10 @@ if ! python3 --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.