* [PATCH (pushed)] libsanitizer: use git clone --depth 1
@ 2022-11-15 13:19 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-11-15 13:19 UTC (permalink / raw)
To: gcc-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-15 13:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 13:19 [PATCH (pushed)] libsanitizer: use git clone --depth 1 Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).