Message ID | 20240315194620.10713-4-dev+git@drbeat.li (mailing list archive) |
---|---|
State | Accepted |
Commit | 99eb825c09f9b89e27249ec5c303a93142f505ce |
Headers | show
Received: from mail-gateway-shared03.cyon.net (mail-gateway-shared03.cyon.net [194.126.200.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C37C55473D for <git@vger.kernel.org>; Fri, 15 Mar 2024 19:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.126.200.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710532007; cv=none; b=JT7f6ut47QjuJPSQX1xIMwGgJR/A3ppi9+6LAWbwDrbJ7uBkQ+muK4XPnrqm/tZTA4rlpKjo4q8yT/nVr1yifeEIPjcRIfnj0flvMtj+r8VnD2EjZKkiWd2GyR2n9B5P//cbXkhGvG1lA+uAYSmpTwhaLq4gRdnW1FuvOXIx/TY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710532007; c=relaxed/simple; bh=zeF7UP34ynW6WksuNgeb+X47YU21XHAm4VZdawEE5+o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JOdwHqfG8tUaY6REblJPP4jqzY5NDqWhTHaWouXOClFez5tgZyJcEZBQriRdGDO3Kw+4mo5iSqSKWR6HbRGQDmIT1R0G//+G15J0QHFYR76WxN/pei+PnNSC0SSqRtrImPlNI0Pn0ntkeG0ux1exT4lvJ+g9MH/o+bscNk5iyuM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drbeat.li; spf=pass smtp.mailfrom=drbeat.li; arc=none smtp.client-ip=194.126.200.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drbeat.li Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=drbeat.li Received: from s019.cyon.net ([149.126.4.28]) by mail-gateway-shared03.cyon.net with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim) (envelope-from <bb@drbeat.li>) id 1rlDVj-000000002AA-2dza for git@vger.kernel.org; Fri, 15 Mar 2024 20:46:36 +0100 Received: from [10.20.10.231] (port=5568 helo=mail.cyon.ch) by s019.cyon.net with esmtpa (Exim 4.96.2) (envelope-from <bb@drbeat.li>) id 1rlDVi-006ajS-1h; Fri, 15 Mar 2024 20:46:34 +0100 Received: from minibeat.bolli (minibeat.bolli [192.168.11.3]) by drbeat.li (Postfix) with SMTP id 27260180130; Fri, 15 Mar 2024 20:46:33 +0100 (CET) Received: by minibeat.bolli (sSMTP sendmail emulation); Fri, 15 Mar 2024 20:46:33 +0100 From: "Beat Bolli" <bb@drbeat.li> To: git@vger.kernel.org Cc: Junio C Hamano <gitster@pobox.com>, Beat Bolli <dev+git@drbeat.li> Subject: [PATCH v2 03/22] t/lib-cvs.sh: avoid redundant use of cat Date: Fri, 15 Mar 2024 20:46:00 +0100 Message-ID: <20240315194620.10713-4-dev+git@drbeat.li> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240315194620.10713-1-dev+git@drbeat.li> References: <20240305212533.12947-1-dev+git@drbeat.li> <20240315194620.10713-1-dev+git@drbeat.li> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: <git.vger.kernel.org> List-Subscribe: <mailto:git+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s019.cyon.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - drbeat.li X-Get-Message-Sender-Via: s019.cyon.net: authenticated_id: ig@drbeat.li X-Authenticated-Sender: s019.cyon.net: ig@drbeat.li |
Series |
avoid redundant pipelines
|
expand
|
diff --git a/t/lib-cvs.sh b/t/lib-cvs.sh index 32b347337908..57b9b2db9b3f 100644 --- a/t/lib-cvs.sh +++ b/t/lib-cvs.sh @@ -71,8 +71,8 @@ test_cmp_branch_tree () { find . -type d -name .git -prune -o -type f -print ) | sort >module-git-"$1".list && test_cmp module-cvs-"$1".list module-git-"$1".list && - cat module-cvs-"$1".list | while read f + while read f do test_cmp_branch_file "$1" "$f" || return 1 - done + done <module-cvs-"$1".list }
Signed-off-by: Beat Bolli <dev+git@drbeat.li> --- t/lib-cvs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)