From patchwork Tue Jul 30 05:22:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13746669 Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (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 DFE6A145FEF for ; Tue, 30 Jul 2024 05:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722316970; cv=none; b=brC1JGa8D7UQ0wzXR3ik8bu3elc4hkBCtmyfi40epvdladblYeQIH49RQPHkEfxZVA43K1gJUgnR4a3rBHeF6LP8L57I8pYX5EN1Wb2RJD6o8SiH/M7+cgjTrqxGRPg3dtdS2hfsnTTf7cIi1nmjUxFSvq6F3M/oUZlStG20Uac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722316970; c=relaxed/simple; bh=Zsc7b6yCVYOxuhpk9NbHrtqRMqbE8OzTmEtUFlItwsE=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=UQIWFkoo6mTo/0Fn3AVRIX85UNgESfk3glFU1XD/WSKnlakLbhC8faPDKsbnYzNsSsFwCANwp26VsUW51khpmkGPetgwMf/dYMpkDHaa7x66aqfb2sx0UbZT+g+GUccRDlxMSCW5D+UhmKmWuVdsfUr5ybzQT60qc0sz/yADviU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject 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=Xz2dFYz7; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Icq7I4HX; arc=none smtp.client-ip=103.168.172.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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="Xz2dFYz7"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Icq7I4HX" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 15B0F1140459 for ; Tue, 30 Jul 2024 01:22:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 30 Jul 2024 01:22:46 -0400 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 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1722316966; x=1722403366; bh=TN9fU1Hiqr/3olTvRYxpv8nhQVS8vfki VyKOUF+2NCw=; b=Xz2dFYz7qDy9Sbw8/8eM83BcSQhR7ujqGqiaznJdQ+Cm3hO3 aXEvT2tcBWIQ3kWZhCC0L1THCNy1Q8RxPlr5W/X7WiD5uaJhEPwENBlvA5iB2wz0 r2h/RSa8rpPyF9lqQbLxwcHu6CcF8B3Q/akYDPN5M9mtot2yqAIwsNlSm2ZkFoLH N+fIMKwHY4ttLYzrigusV3s6M34bEFMrQs5muBHxNnx4pEph9tCm8t/j0NxdL7Dv VHxHF3fhG7sv1ZMvOikoUuSh7OyR8TofY4pbFRjJNqJ8C+1OcFiKSqVVffYToBhh Wmov00pXYrL4cshNhv0qLPpxe7cAg2LAxJwydA== 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:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1722316966; x=1722403366; bh=TN9fU1Hiqr/3olTvRYxpv8nhQVS8vfkiVyK OUF+2NCw=; b=Icq7I4HX1AnStWGqm535qcA0eQaBG6jVRaQBK59akVCfDnjj0q9 IzRwOo2nnTGZ5yDFI6MxozoSP+90OKN8PKGBPpTa8nzAaUq/IssA0QhKWPIkQnot JvpedHnSNgvfiFViEEZCNNA1hJafMLieB+IcaFhrPVct7vz13UQyS8zPfYBcapMM SIByKB9m/yXt9JOZh+yVIoNXVWHy8yachWY4UFLDrgT+OGkLTZQ0g8s+E+wa8k9z wzM+2h1pWVMpLlAB3yrYytWoTwipBNt5TuGuD54X0qm/yB7g3QfnVHskVsIe45IY PSKwvinkx8xEYtf23+isl/N4hH5BmzjG59Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeefgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderredttd dvnecuhfhrohhmpefrrghtrhhitghkucfuthgvihhnhhgrrhguthcuoehpshesphhkshdr ihhmqeenucggtffrrghtthgvrhhnpeejieefvdeuleffgfejudffvdeghfeigfejgfdvvd efudevffefveffhffgkeeiffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehpshesphhkshdrihhmpdhnsggprhgtphhtthhopedt X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 30 Jul 2024 01:22:45 -0400 (EDT) Received: by localhost (OpenSMTPD) with ESMTPSA id daa6b019 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 30 Jul 2024 05:21:17 +0000 (UTC) Date: Tue, 30 Jul 2024 07:22:42 +0200 From: Patrick Steinhardt To: git@vger.kernel.org Subject: [PATCH 0/5] refs: stop using `the_repository` Message-ID: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Hi, this patch series removes use of `the_repository` in the refs subsystem and drops the `USE_THE_REPOSITORY_VARIABLE` macro define from those files. Patrick Patrick Steinhardt (5): refs: stop using `the_repository` refs/files: stop using `the_repository` in `parse_loose_ref_contents()` refs/files: stop using `the_repository` refs/packed: stop using `the_repository` refs/reftable: stop using `the_repository` refs.c | 16 ++++++------- refs/files-backend.c | 29 ++++++++++++----------- refs/packed-backend.c | 14 +++++------ refs/refs-internal.h | 3 ++- refs/reftable-backend.c | 51 +++++++++++++++++++++-------------------- 5 files changed, 56 insertions(+), 57 deletions(-)