From patchwork Wed Dec 20 10:55:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13499967 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 DE9D02209B for ; Wed, 20 Dec 2023 10:55:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="qFtWxmnQ"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="8qvDv5OQ" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3DB7C5C01B1 for ; Wed, 20 Dec 2023 05:55:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 20 Dec 2023 05:55:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1703069745; x=1703156145; bh=UwKEfNoS1V nz5xVoxKTG7/5/USu9zUoOfEj0TWhjq6Y=; b=qFtWxmnQx0ydlZI2RD3iiKZBRF MlRsIBztUbB/zclKJbdy+tfL52+lf+lbP+oBNJEZVvb2F0AAabVKy/shpnUISV2p 9Tyd6K0OuUK9ElzGga2HkcS/msNouM5dVYJoT8IDfkkVy5b/X994LhqMwKQpt1FO 7drbDyyTIKgzm0V9MBBhkheOTmsj8gi1TLTmNVRjliSdHSCSDXOS7KyYWh7jLUNx cRCHdzVtcUQvQzQ8tdOsPQghzUWqyxxIY2oEq0BjlfSc5+J+BUJ/F961mACs52vx Ho71+6gkNoZGZROcCQeyS/E5FUKVafMwINn4e1Ql/2PUyvxu2Nt43BMzSesA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703069745; x=1703156145; bh=UwKEfNoS1Vnz5xVoxKTG7/5/USu9 zUoOfEj0TWhjq6Y=; b=8qvDv5OQV+O28pwAxaIqCTTiemZFeJxwpIP9RbimqF1y ltZ6AeoaGDvY1LhWap+SZih1LKq0H4uRKAvbTTV2U7VQpVy8LhwFNuzOOYB28GVN kl44v/39geO5Ak+EWh0WNjNmev+RC/zqdjmnGoX41CJuLSwgEqmVWkVmZ7aCNV3B lBWDZdxAmjtcLPyd8k5/wus9hwEmWQbKQtFa4EG0DWniWbsmIwzK30BZzXcKcV5R Lqq62vOz/Ulks3ZzNlec2OL809VS2Ih25kM44PfQbXP9yowKHsAxk5sXl3nMSJjB f1ygzh1SOs965ySXliAtLTAvg6SU+jHBoZWx8btDCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduvddgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomheprfgrthhrihgtkhcuufhtvghinhhhrghrughtuceophhssehp khhsrdhimheqnecuggftrfgrthhtvghrnhepheeghfdtfeeuffehkefgffduleffjedthf dvjeektdfhhedvlefgtefgvdettdfhnecuvehluhhsthgvrhfuihiivgepudenucfrrghr rghmpehmrghilhhfrhhomhepphhssehpkhhsrdhimh X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 20 Dec 2023 05:55:44 -0500 (EST) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 2683b519 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 20 Dec 2023 10:53:49 +0000 (UTC) Date: Wed, 20 Dec 2023 11:55:42 +0100 From: Patrick Steinhardt To: git@vger.kernel.org Subject: [PATCH 12/12] t9500: write "extensions.refstorage" into config Message-ID: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: In t9500 we're writing a custom configuration that sets up gitweb. This requires us manually ensure that the repository format is configured as required, including both the repository format version and extensions. With the introduction of the "extensions.refStorage" extension we need to update the test to also write this new one. Signed-off-by: Patrick Steinhardt --- t/t9500-gitweb-standalone-no-errors.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index 0333065d4d..7679780fb8 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -627,6 +627,7 @@ test_expect_success \ test_expect_success 'setup' ' version=$(git config core.repositoryformatversion) && algo=$(test_might_fail git config extensions.objectformat) && + refstorage=$(test_might_fail git config extensions.refstorage) && cat >.git/config <<-\EOF && # testing noval and alternate separator [gitweb] @@ -637,6 +638,10 @@ test_expect_success 'setup' ' if test -n "$algo" then git config extensions.objectformat "$algo" + fi && + if test -n "$refstorage" + then + git config extensions.refstorage "$refstorage" fi '