From ab6942d9746cb7774e561f905830d11174b71fda Mon Sep 17 00:00:00 2001 From: Maxim Kulyk Date: Sat, 23 May 2020 03:08:10 +0300 Subject: [PATCH] [CI, sh, Windows] Do shallow submodule init. History is not needed. --- .ci/setup-windows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/setup-windows.sh b/.ci/setup-windows.sh index 3fe888e7eb..0e521dfe8e 100755 --- a/.ci/setup-windows.sh +++ b/.ci/setup-windows.sh @@ -35,7 +35,7 @@ DEP_URLS=" \ # Pull all the submodules except llvm, since it is built separately and we just download that build # Note: Tried to use git submodule status, but it takes over 20 seconds # shellcheck disable=SC2046 -git submodule -q update --init $(awk '/path/ && !/llvm/ { print $3 }' .gitmodules) +git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ { print $3 }' .gitmodules) # Git bash doesn't have rev, so here it is rev()