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() { -- 2.38.1