From c2cb7e1004f3ccc12828954f86026c0e92a8751e Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 12 Jul 2020 23:20:09 +0000 Subject: [PATCH] CI/FreeBSD: avoid downloading commit history in submodules --- .ci/build-freebsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 186b786223..1214b66d88 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -3,7 +3,7 @@ # Pull all the submodules except llvm # 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) # XXX Drop after Travis upgrades FreeBSD to 12.2 (see also .ci/install-freebsd.sh) case $(${CXX:-c++} --version) in