From 3895318beb8f21965c398c6b89ce6d542bda0aed Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 15 Nov 2022 14:18:27 +0100 Subject: [PATCH] libsanitizer: use git clone --depth 1 Using depth == 1 it makes the cloning much faster. libsanitizer/ChangeLog: * merge.sh: Use git clone --depth 1. --- libsanitizer/merge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsanitizer/merge.sh b/libsanitizer/merge.sh index 95ded4f9634..7d1b553e2bb 100755 --- a/libsanitizer/merge.sh +++ b/libsanitizer/merge.sh @@ -6,7 +6,7 @@ get_upstream() { rm -rf upstream - git clone https://github.com/llvm/llvm-project.git upstream + git clone --depth 1 https://github.com/llvm/llvm-project.git upstream } get_current_rev() {