From patchwork Tue Nov 15 13:19:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 60650 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B7E2D3895FC7 for ; Tue, 15 Nov 2022 13:19:22 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id C0C7E3893655 for ; Tue, 15 Nov 2022 13:19:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C0C7E3893655 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 7CF0B1F8CD for ; Tue, 15 Nov 2022 13:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668518345; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jF/dijZWC5dGtTywQky5X9oxn05GKrpBYD5SdWqnl2Q=; b=bpfkfx1ha6ry4dlD+UCxXxuI3J558Qxq0NNYUCAYMpSmrRKRI8eN4p3Td3hS28TYxht/qT Ta/aiR0XbDhPPNtKDQBrbU8d2aaIGcDKSZwNHndSp0e/J2gwZ0LzjlPWi+PeRbfw2MEQZM 6vAJQOn6GeNwZOMmLWbHldN9Q+xTZlw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668518345; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jF/dijZWC5dGtTywQky5X9oxn05GKrpBYD5SdWqnl2Q=; b=XnwQEJDmBMMQ15lAGUVkX3w+hkoafX474P9ylf6YE214Hj4cR2wEXDjkQmihiO14+s00G+ CeTuCZEgZ0wWoBDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6D08013AF8 for ; Tue, 15 Nov 2022 13:19:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id V67CGMmRc2PjXgAAMHmgww (envelope-from ) for ; Tue, 15 Nov 2022 13:19:05 +0000 Message-ID: <00f99859-ed54-0e2b-3b62-3272f8477429@suse.cz> Date: Tue, 15 Nov 2022 14:19:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] libsanitizer: use git clone --depth 1 To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "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() {