From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 2E4053C6AF for ; Fri, 10 Nov 2023 21:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from cloud.peff.net (cloud.peff.net [104.130.231.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFE214496 for ; Fri, 10 Nov 2023 13:46:41 -0800 (PST) Received: (qmail 14968 invoked by uid 109); 10 Nov 2023 21:46:41 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Fri, 10 Nov 2023 21:46:41 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 838 invoked by uid 111); 10 Nov 2023 21:46:42 -0000 Received: from coredump.intra.peff.net (HELO coredump.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Fri, 10 Nov 2023 16:46:42 -0500 Authentication-Results: peff.net; auth=none Date: Fri, 10 Nov 2023 16:46:40 -0500 From: Jeff King To: Patrick Steinhardt Cc: git@vger.kernel.org, Junio C Hamano Subject: Re: [PATCH v2 0/4] Replace use of `test -o/a ` Message-ID: <20231110214640.GD2758295@coredump.intra.peff.net> References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Fri, Nov 10, 2023 at 11:01:11AM +0100, Patrick Steinhardt wrote: > this is the second version of my patch series that replaces all uses of > `test -o/a > Changes compared to v1: > > - I've expanded a bit on why we want to do these conversions in the > first place in the first commit message. > > - Dropped a needless subshell and added missing quoting while at it. > > - Explained why we need to decompose the asserts in the second patch > into two asserts. These look OK to me. I mentioned a small nit on the first patch, but I am OK with ignoring it (and we are reaching diminishing returns polishing an otherwise trivial series). -Peff