From patchwork Wed Mar 6 11:17:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13583942 Received: from fhigh3-smtp.messagingengine.com (fhigh3-smtp.messagingengine.com [103.168.172.154]) (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 988F160DD0 for ; Wed, 6 Mar 2024 11:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.154 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709723856; cv=none; b=KeYAZbajydQ/wx2J9cWJOwAj4ynz5QzF82e9HUR6Sg1e3mktHjGZzTBmJl768T5P05T5X0vJNzegoUA9UadMQUTLQwZTpgDBhGaEFwtr4EFIVq7Tz/J7AsuO7+8iLqECPRyNrL8HtCW4E8NSlCWFV+rmBTf/mJSs3YfQDRLUAsU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709723856; c=relaxed/simple; bh=K7AcrfsVOdYlwV++p5en0awEbpH8wMVLu+w9obgIRaw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KM8KpL8HaHG0qq0YWxRddXyx5SiiqUyTqDA4e8AHrbCSq7DFU4gzEIIbt+osjY8pcqlptY4Qboom1HWTd25JXUM+1iGuXbw4Ta1HfWgYCYPsaN3nv7dflRpyzRzfKVvdyuSOV9lkNUnbZujLFX/tlzO0Joam2r/lqVGfrwzUMow= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=XfiVvqnL; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=FLxfTLol; arc=none smtp.client-ip=103.168.172.154 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="XfiVvqnL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="FLxfTLol" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 7448811400BA; Wed, 6 Mar 2024 06:17:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 06 Mar 2024 06:17:33 -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=fm1; t=1709723853; x=1709810253; bh=y5/2Jsu3BD 9BoBpx6P3mks2vHymrPN/5D7te07JiJTI=; b=XfiVvqnL9O95Fo6DCbHypZYR4d 7+7owiverYYNmYS3thV5pLrJBtfqVY16YjGjQIfOfRlFsmZ4lWsHzfsA8kyo68tT C/rSzFirWdk0sloqPaCpQ/NFjLEcr1l9SMFvbG6UFy8ZU5RALhTV7xGa/reCwCYu 1eMIL+xbuqrArE42+aupfiOR212c1k4+L/jGZ+NPaeDQAzHEOKysylef93aRbyet UZvKdYMspJBhHq4aBOKdidwQEAr4yIa/xT75kel4+Ifd4XfEXvW3+jJENJzH/olM xJHNVqklRYml7Vhqpl5JpCw5J62MseXUkrKde53tlfWJDlaSplLOhswi5yyA== 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= fm1; t=1709723853; x=1709810253; bh=y5/2Jsu3BD9BoBpx6P3mks2vHymr PN/5D7te07JiJTI=; b=FLxfTLolwCe7EjvYPko5cPAJS+faoc7xPNlYmULHANmj iswD/++I9ZWBhLIDGzxfCMQ/JjAdgYrasxIIRs7rXP4ngJbJTs7U3Ru/i2Msov1j zg0vK24xn12EN6kroQIouA4vgpYi1x2jP2HCYUkXD8a5HDRTn72ng+B7SM18oxpr qcgIJckOJrGjGNrR2ymOPiJuA94hpkx7Q49nYUBl1fY4xvIgp4YzzRoQJQc4j84+ Cqqy1SoFte6ThG3tX5OFepqVH3EydE8Ir1Jmi9FBh+UDi8anHC3Qd0HYz6E0Chax A+Gq0SlX8wivV7YWIxGJ4fGPV/G6D/z/MoFcGTRSKQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledriedugddvgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrrghtrhhi tghkucfuthgvihhnhhgrrhguthcuoehpshesphhkshdrihhmqeenucggtffrrghtthgvrh hnpeeukedtvedtffevleejtefgheehieegkeeluddvfeefgeehgfeltddtheejleffteen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpshesph hkshdrihhm X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Mar 2024 06:17:32 -0500 (EST) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 8e3b210e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 6 Mar 2024 11:12:59 +0000 (UTC) Date: Wed, 6 Mar 2024 12:17:27 +0100 From: Patrick Steinhardt To: git@vger.kernel.org Cc: Junio C Hamano , Karthik Nayak Subject: [PATCH] t0610: remove unused variable assignment Message-ID: <755ea17d3d88462e8c0a9a8338a0c82ad6506338.1709723814.git.ps@pks.im> 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 b0f6b6b523 (refs/reftable: don't fail empty transactions in repo without HEAD, 2024-02-27), we have added a new test to t0610. This test contains a useless assignment to a variable that is never actually used. Remove it. Signed-off-by: Patrick Steinhardt --- t/t0610-reftable-basics.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/t/t0610-reftable-basics.sh b/t/t0610-reftable-basics.sh index c5f4d23433..686781192e 100755 --- a/t/t0610-reftable-basics.sh +++ b/t/t0610-reftable-basics.sh @@ -332,7 +332,6 @@ test_expect_success 'ref transaction: empty transaction in empty repo' ' test_when_finished "rm -rf repo" && git init repo && test_commit -C repo --no-tag A && - COMMIT=$(git -C repo rev-parse HEAD) && git -C repo update-ref -d refs/heads/main && test-tool -C repo ref-store main delete-refs REF_NO_DEREF msg HEAD && git -C repo update-ref --stdin <<-EOF