commit 11f142d6aed9ed62decd4e01dbe3c9fb804f2033
parent c1ca7b0296448b415c97b69e8f04d7115722b8f4
Author: Florian Dold <florian@dold.me>
Date: Fri, 20 Sep 2024 12:47:09 +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
+
# Beware: We only want to update submodules to the commit hash
# stored in git, otherwise builds based on tags will not be
# reproducible.