submodule checkout depth 5

This commit is contained in:
Janik von Rotz committed 2024-01-02 13:37:04 +01:00
1 parent 86ea6fba65
commit 9c157cb7de
1 file changed
+1 -1
+1 -1
View File
@@ -507,7 +507,7 @@ function git-update-submodules() {
echo "Update submodules."
SUBMODULES=$(git config --file .gitmodules --get-regexp url | sed -e 's/submodule.//g' -e 's/.url.*//g')
for SUBMODULE in $SUBMODULES; do
git submodule update --init "$SUBMODULE"
git submodule update --init --depth 5 "$SUBMODULE"
done
}