From f0ffbafee132f824e8ef035d2ff8d2233c6116a5 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 10 Jul 2024 06:43:38 +0200 Subject: [PATCH] Shallow clone submodules We don't need the entire history of these submodules, only their current content --- .gitmodules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitmodules b/.gitmodules index 6eb97d7..71e8667 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,6 +4,10 @@ [submodule "cmake/cmake-version"] path = cmake/cmake-version url = https://github.com/Xaymar/cmake-version.git + fetchRecurseSubmodules = true + shallow = true [submodule "cmake/cmake-clang"] path = cmake/cmake-clang url = https://github.com/Xaymar/cmake-clang.git + fetchRecurseSubmodules = true + shallow = true