From patchwork Thu Dec 28 09:58:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13505787 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 CB20B63D6 for ; Thu, 28 Dec 2023 09:58:18 +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="VJ3uR70I"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="vwZszBJa" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 237395C0089; Thu, 28 Dec 2023 04:58:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 28 Dec 2023 04:58:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc: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=1703757498; x=1703843898; bh=pMqLJY39SC PbTS3XJrNELmSwAVpwVzPG1mwvj77mJnQ=; b=VJ3uR70Iq2IX61Xzpnf138rV2O sEM2k3f5lG96MtkzS8S7oHiMYC/LJs802ZIDQUgfTqSKclB9g5MC/G8cBGYeZGTp c//6dHHwAXDI/bmTSUpKfY14dYkSSEK6AH60nilCSZNGFqLM8tIIH+CRd/U4QF+B /ZNNeZt1a2MA2HN1QOSwtlufQpt4UlybNeuqWViPoRe1NaO1xCA7+BFVyI8a/C1b o8voAcEbLCAQwOJmyhH9kTBNInNFMVEUqX+FkhckcxxAHLWV592TKzdejOjVwYEM WlCvURIZTNHOQhxRe/ByXnfl5OPLoHbGkWrhiI2Pj728YWysj9uA8ZrhUJ5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1703757498; x=1703843898; bh=pMqLJY39SCPbTS3XJrNELmSwAVpw VzPG1mwvj77mJnQ=; b=vwZszBJaGvtswLSafCXIuSBsA/Gl8LGxG+2qpsWhajfX UOP7W9e5D33PS+Y5OhFon8n2287rQtOYhy33WsTOFKGj6IqhyrZDNAOF6NDgNLjS E06EqdjCQXoOI0JTm0tCmTQygzZmAa45nRMJpdvLTIVY+UbW6jekVx1jvl7QxRQW fcqucUESy55izZNSIFxeczyeA3iKayGzA0IHXdctWmH72V/1/PIEL4XYwJAj2HsS SXC6eDRj7oAIn4+UZIto2Nk/JgP+vZ8RjmhBNUKEekerpvtIyAJZ3DoDHaPRWJ/I F9ATBlGUtnVokNCGOgab4Yrl4wVPzFcwHaVY0+yi7A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdefuddguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhr ihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvg hrnhepueektdevtdffveeljeetgfehheeigeekleduvdeffeeghefgledttdehjeelffet necuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepphhsse hpkhhsrdhimh X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Dec 2023 04:58:17 -0500 (EST) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 3fd55846 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 28 Dec 2023 09:56:03 +0000 (UTC) Date: Thu, 28 Dec 2023 10:58:15 +0100 From: Patrick Steinhardt To: git@vger.kernel.org Cc: Karthik Nayak , Junio C Hamano Subject: [PATCH v2 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 to 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 '