public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4058] libsanitizer: use git clone --depth 1
@ 2022-11-15 13:19 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-11-15 13:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3895318beb8f21965c398c6b89ce6d542bda0aed
commit r13-4058-g3895318beb8f21965c398c6b89ce6d542bda0aed
Author: Martin Liska <mliska@suse.cz>
Date: Tue Nov 15 14:18:27 2022 +0100
libsanitizer: use git clone --depth 1
Using depth == 1 it makes the cloning much faster.
libsanitizer/ChangeLog:
* merge.sh: Use git clone --depth 1.
Diff:
---
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() {
^ 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 [gcc r13-4058] libsanitizer: use git clone --depth 1 Martin Liska
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).