From patchwork Mon Oct 28 00:59:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "brian m. carlson" X-Patchwork-Id: 11214463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EDC6B1864 for ; Mon, 28 Oct 2019 00:59:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CA1F12070B for ; Mon, 28 Oct 2019 00:59:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (3072-bit key) header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.b="Wb79OHmn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729124AbfJ1A7j (ORCPT ); Sun, 27 Oct 2019 20:59:39 -0400 Received: from injection.crustytoothpaste.net ([192.241.140.119]:54334 "EHLO injection.crustytoothpaste.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729096AbfJ1A7i (ORCPT ); Sun, 27 Oct 2019 20:59:38 -0400 Received: from camp.crustytoothpaste.net (unknown [IPv6:2001:470:b978:101:b610:a2f0:36c1:12e3]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by injection.crustytoothpaste.net (Postfix) with ESMTPSA id 795D362060; Mon, 28 Oct 2019 00:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net; s=default; t=1572224377; bh=xAwPFCa9jKc9F2OPJiKnOhVwiuwkg/OZ8jdoqr7wNIU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Reply-To: Subject:Date:To:CC:Resent-Date:Resent-From:Resent-To:Resent-Cc: In-Reply-To:References:Content-Type:Content-Disposition; b=Wb79OHmnHqdgrrp91KQ0OFKQA3KFPHjbnc4p8Ag47QY6/wKw6ChFwhRq2eoHbjpMN 3mAb0Tj3sEM24TEkDDk+fDMhjI8jCeFOAIVPpqjaS3GMGBwOHXrODXypLkCZaHXWZ5 fR1Rhmm/yagrm69TWPrnHC8XuH/m8z3bZFqPFsXay1Iy12JS3h1MSnorMEl9AwmOep SI4u5mT7fyQ9bbtY0Z9yIRCWH/mT+uOAzEPp4h9qXbYmke1I07uNDpDCI1Ybg2EPn5 LBimQbarSalkX14pC6oDL2dTCFu+rqmP3u6fDdDF+12Ok69FXPbgH4iwC3lFtZigxP ZXMdZUS+YgHDxjNB5VcKE6v/yk/DQXkiGJPIODvdYggHCMc6yJAr/8iXo20UMntW/a jkRC1TOiMlQdzPQ5x/g39KahLLfnhhNJZQ9clNtEFPy8msdA+SMVclYEmp96m9Thu9 HaUEzMPpZoS6p6wJLCSTT/GWgtp4tdc4UmVo+BHXQbLUtFQFwnN From: "brian m. carlson" To: Cc: Derrick Stolee , Stefan Beller , Johannes Schindelin Subject: [PATCH v2 14/15] t4045: make hash-size independent Date: Mon, 28 Oct 2019 00:59:06 +0000 Message-Id: <20191028005907.24985-15-sandals@crustytoothpaste.net> X-Mailer: git-send-email 2.24.0.rc0.303.g954a862665 In-Reply-To: <20191028005907.24985-1-sandals@crustytoothpaste.net> References: <20191028005907.24985-1-sandals@crustytoothpaste.net> MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Replace a hard-coded all-zeros object ID with a use of $ZERO_OID. Signed-off-by: brian m. carlson --- t/t4045-diff-relative.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t4045-diff-relative.sh b/t/t4045-diff-relative.sh index 36f8ed8a81..258808708e 100755 --- a/t/t4045-diff-relative.sh +++ b/t/t4045-diff-relative.sh @@ -70,7 +70,7 @@ check_raw () { expect=$1 shift cat >expected <<-EOF - :000000 100644 0000000000000000000000000000000000000000 $blob A $expect + :000000 100644 $ZERO_OID $blob A $expect EOF test_expect_success "--raw $*" " git -C '$dir' diff --no-abbrev --raw $* HEAD^ >actual &&