From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.147 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796200691; b=pDHmUyUSd3CvyN3djt5vJ6Z+JQCcHuS6p8s6rhYww8GDG+fa1+jTaIJNMgFEE/nxoQX8 cc59QnoKQE1ErlFDbpepeP9zQSIEr73eGYnQ96iE3z3OjmIAlZee/NUv6VS2qV26leBGQ dTTcXx0AECkpLG3Ru41FHwRMCawXQc4oMijPPIi5t5nk28u95AsWlKRUO0A+HIM0MD8BZ pR6UeBrTVnPTE0i+BWVu1Qe1JC9aG85ShiIEidt/LyNzpoFGqeDhBB/OSxS89/roxs0uf PtJq6mGr34uqe/nh0veDjyPE/Nihy2/pN+NKkA2Ai4Z1dEl/mjTEI3auLS+6qYjCpUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200691; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID: Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=vrhG83LL0L1LAIU++ia+f/C9FInccz9rv/hVQ2mbahc=; b=g4YaOawuo8L/V5Sa/BrlHCm8WbyUKJoeLc6jjLunisJteVaBbrvaA3IPji8WLTTFlqwA o3FuFkRHLbYni/8cMTxQiv5SKe3hEpVIECZPioles5BJTXTcmgWibMMsGfohlj4nzpZzc qQ+eKIRLfRBz91hT+sQWfBcIzA+/weZ5aLD94zw9Bssa1lYt6ig+WsynKi7ChoLKGpojq Wsweeay7d8pZcOnvnwMlVwCEpqJm3L8yke4hFiYSAdqhTM6Fdr2N9dXfMkMYCJzvdKZ+c urK3vx/LdSU5wzx6aBTnXSONUXlj55In8iVhU7qScyaHPUPJXrfyXGibdYoswuz39dA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass header.d=pks.im header.i=@pks.im header.a=rsa-sha256 header.s=fm3 header.b=tqyRCaiA; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=AGoLXjuc; arc=none smtp.remote-ip=103.168.172.147 Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15CC4606A322 for ; Wed, 2 Dec 2026 08:38:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 15CC4606A322 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, unprotected) header.d=pks.im header.i=@pks.im header.a=rsa-sha256 header.s=fm3 header.b=tqyRCaiA; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=AGoLXjuc Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id D87DFEC0541 for ; Wed, 2 Dec 2026 03:38:09 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 02 Dec 2026 03:38:09 -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=fm3; t=1796200689; x=1796287089; bh=vrhG83LL0L 1LAIU++ia+f/C9FInccz9rv/hVQ2mbahc=; b=tqyRCaiABLtw/J2TbF29pcxdsa xMnBSRyW7eR36HlkmIC5fddjDKwAoO8liSyFmU5UhahiCGOPJKvzXhJwBvmlSOdF HWPeX+FRsB2MY7T5fbeQMjPTMR/J/fC6xVA+FZEDO2C1MN+0jxjc/YCl0yExnSKj 4m6HeAYgbbBNN1BP6ETGSjyYmVDHHzMbR/4zNRpjOnDuyPed2unc2oFKPlzy0rwt 1D0Te0BRaXt+oferPzzigRezAzns+kp/0eOsEIW8rQ8IA6uyQRlly1ysvBdtqG+n zmZ1+MhOM6CPlmduzSY9lF/qD+1/TjMgS1XqriqcyY4jrDZRSsS5J5EuAkeg== 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-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1796200689; x=1796287089; bh=vrhG83LL0L1LAIU++ia+f/C9FInccz9rv/h VQ2mbahc=; b=AGoLXjuchCTi6wsnX92RilgkSOELiW672Z8rA5bnl8IaI9sVA8z MsA+1Gh8QPlAkccG9cDdnfGml24oQbZQICMU44ruK0gwzGsBuR6gC0sn5rxvYcqe qxVf/IO/uDRXNB43DbuhNUk1jOXvEMq9xgYOLPrppPAVmrLqqiS7uhW3C9Qy/cQm ktmbNf6RfT7pDPsMQykwgXV/XEmwXV4DgnuRE5WihcUZFy9BEG1vbNm0YKgLccL+ /oC56AvBpBpiUMJ2HztN1BYUBYvPfhsqACmnfG6/amX7OKRCz8mFAiAfBqD4CtGJ 83IiSI0pxKSCgDiKTJDJNApMg65cOHYE90Q== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=pks.im a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796200689; d=pks.im; mf=PHBzQHBrcy5pbT4=; rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+; s=fm3:rsa-sha256:wGH7xoME/kEHraA+MdqM/b6ScIjBOrzduguinj2eplzr+f+ k9rIAkwhCw/Ptm5YnSd2KCc5WpizwYnOvqfv0t22f0vVtIAnlLqn4Wr7gJBHHego irirGL2UdXEn7Hxc0VFsXj0neeuazLhGZPx3uCE386YnMMTD7zau/M51qg/zTij5 Vi3VVe7JXHQWa77VUp93nurfhyJRSeGn1m+VRn4QnHIM+/VfFULqyptwzxo4mqv/ 4wT07PbSherGRPiq/Rg5GkUvez92Opzuyl9gp75mHqs8taO/y7vxnjgslxoVHeIC zzZnBxERewrR+7cig5JPMGZZ0nWOTx5pKzCF5kA==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-disposition,content-type,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:WgEScBq+9aijotm/nDZYjaJSaReAP0r4y7QhWTbdph0=:wax/cxjqmJrkPQkTVNTwP5x8Fz2jlK4HXp8njSSsSmI=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTE5cSEesoexBvSHXA7vPMcvBP83F4WFoDjFFpSsiDwBxB1K7ya5ofrGJG39HFztiv 7NyPVK0C/36E+taMo9Y/D18C5LqeNRt8ZIexBM88BOBDR6/Ybb/QJQ1Ji8zHZlL9YugglU hFF/XVdCHLZYOIx46e72iHfRFavVt3woMG5yWfmWlUY1fUxA1aqvQvpRmsF+mcqUHNkD4P 86UEd1mtBjUpSV7OY0ok7hgg259veMyULWkveJQAxgeNCCuUe3rmUaf0sHe1x6s7yEuD1X 1nWHuqVclt6QjI0hhzp0gCadcpmBymxfTPm3Ar0JrEXsXAJ5EM8dJjrvW4Xk8ebGJkh/uE FG2E67ZVU+Jokd5HhoxeCdaWELr8Ff66OQM9DEoDBL2seVzimrsRy/CQ4bF3u26JrE9Zw+ Ivjfjpm0PGm4a6SPTHrWGjGPiaLwsPEckFQTU+B/Lw3SCaDGOOqKF8H+6HQnBNozlyS5xY uXu2XRM+vyknGUKNrjkXI0J6pt9Zpt36lZzl5QgE8axX5CIxU91c0Es5M8/MM4M8SnM0PB xjU+4MeRq/0AM3y5zaVNtocfKWyt5a4VHgVrI/dIozJGH55Zw9wlMW3eaZN1ZzcZutCuEw VxGTfpN/faKW2iUITiMM1hNR/wilBrqj0+EKqKr1iB6W+4uYn93Iag9cCEIQ X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Dec 2026 03:38:09 -0500 (EST) Received: by mail (OpenSMTPD) with ESMTPSA id 5038cb33 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 2 Dec 2026 08:38:06 +0000 (UTC) Date: Wed, 2 Dec 2026 09:38:04 +0100 From: Patrick Steinhardt To: Junio C Hamano Cc: git@vger.kernel.org Subject: Re: [PATCH 2/6] packfile: rename lifecycle functions Message-ID: References: <20261120-pks-packfile-global-statistics-v1-0-19beb83b145f@pks.im> <20261120-pks-packfile-global-statistics-v1-2-19beb83b145f@pks.im> X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Nov 24, 2026 at 03:47:25PM -0800, Junio C Hamano wrote: > Patrick Steinhardt writes: > > @@ -217,32 +217,33 @@ int for_each_object_in_pack(struct packed_git *p, > > #define PACKDIR_FILE_GARBAGE 4 > > extern void (*report_garbage)(unsigned seen_bits, const char *path); > > > > +uint32_t get_pack_fanout(struct packed_git *p, uint32_t value); > > + > > +struct object_database; > > The forward declaration for struct object_database moved here was > already unused in packfile.h, since odb.h is included at the top of the > header and no prototype here takes that type. Moving it around can > probably be skipped, or it could be dropped separately. > > Other than that, the step is done very nicely. Ah, true. Let me just drop it while at it. Patrick