Article View: linux.kernel.git
Article #3945Re: [PATCH v2 03/13] loose: add a flag to control whether we write mapped OIDs
From: "brian m. carlson"
Date: Thu, 26 Nov 2026 22:18
Date: Thu, 26 Nov 2026 22:18
49 lines
11491 bytes
11491 bytes
--VFkVl+cxw5j+nt44 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2026-11-26 at 13:57:01, Kaartic Sivaraam wrote: > On 10/23/26 12:55, Christian Couder wrote: > >=20 > > Right now, we always write the object to the loose object map. However, > > in the future, we'll need to temporarily store some object ID mappings > > in memory so that we can rewrite other objects, such as when we're > > indexing packs. Let's make this easier by setting a flag indicating > > whether we want to write this to disk. > >=20 >=20 > In retrospect, I suppose the "Let's make this ... " phrasing is kind of an > unwritten unexception to the "imperative mood" guideline. I could find a = lot > of commits using it. According to Wiktionary, "let's" is use to form the cohortative, which is equivalent to the first-person plural imperative in other languages. If I wrote this in Spanish or French, I would use the first-person plural imperative here. It is technically not imperative in English, but only technically; it fulfills the same functional purpose. And Peff has used it in his commit messages without problem (which is where I picked it up from), so I claim that it's okay on that basis. It also sounds a little more informal and approachable, which is why I liked it. --=20 brian m. carlson (they/them) Toronto, Ontario, CA Speaking for myself only --VFkVl+cxw5j+nt44 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- wr0EABYKAG8FgmsIsEIJEHwMSWKIh6KBRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z LnNlcXVvaWEtcGdwLm9yZ/+0yLgJsX1scfGghKxrAYpeGYpJAnBEhC4cddw9Ar5y FiEECCzmip28ZfuD0cORfAxJYoiHooEAAK1IAPwMrjRcJshmyGB8fOt/3V9WOF/M 3wdXz9ZfC7DOnhaYeAD+KB9v9vEOszFiGJ1NaGVF/JNIBqUD7ctveYRhzHRXKAQ= =6h3l -----END PGP SIGNATURE----- --VFkVl+cxw5j+nt44--
Technical Details
Message-ID:
<awiwQoVqW5MJZpml@fruit.crustytoothpaste.net>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76491-linux-kernel-git=dewy.ruReferences:
<20261023072559.3204273-1-christian.couder@gmail.com> <20261023072559.3204273-4-christian.couder@gmail.com> <3b70d34b-5dba-48fb-ad5f-137e73c36c78@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-76491-linux-kernel-git=dewy.ru
From: sandals@crustytoothpaste.net ("brian m. carlson")
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v2 03/13] loose: add a flag to control whether we write
mapped OIDs
Date: Thu, 26 Nov 2026 22:18:42 +0000
Organization: Usenet Network
Message-ID: <awiwQoVqW5MJZpml@fruit.crustytoothpaste.net>
References: <20261023072559.3204273-1-christian.couder@gmail.com>
<20261023072559.3204273-4-christian.couder@gmail.com>
<3b70d34b-5dba-48fb-ad5f-137e73c36c78@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="VFkVl+cxw5j+nt44"
Injection-Info: usenet.network;
logging-data="580578"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:jDj+1b/g27GFR7ZUKOrd54wgFa4= sha256:9QCT+dpJ11mGU53Aw1T2F/iCGjqvl/lg01zJ7iiS64A=
sha1:H/jqEBd0NHDIUPM0eH1EwpEvqQM= sha256:8GT9zG/AS9dWnWuicvKxg+zcgFUWn3Y4w86gCHVRcpM=
Content-Disposition: inline
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id D8362125F0D; Fri, 27 Nov 2026 01:19:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.951
X-Spam-Status: No, score=-1.951 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (3072-bit key)
header.d=crustytoothpaste.net
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Vv2RtCgg7qsr;
Fri, 27 Nov 2026 01:19:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76491-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=crustytoothpaste.net
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 781B3125F04; Fri, 27 Nov 2026 01:18:54 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id C292C30F5E; Thu, 26 Nov 2026 22:18:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1795731532;
b=yg2ChJ9KfTHH18A3usdF5OsbTcgJ/8coGjzaj7AWGhCXaQTSUEqXus4YJDkWR25A4caN
DIhmFoJvI+Ri711VICQYhH/4YmzT+r2+8fbsrNdiJXixIzl+mbDmRlwkoDz7Fr8rsLbqA
ML3nJ9AOKUtT515WZygBrJHlZbNZGeNUGOuy1N4swzFeoUxZnMjiF2Xe0KZNrHy04IBcv
T9vzFlobUm4Q0FDb5IqfOqOBRGM8OpVkoXWmH974mh9lrKO8pGCq9pn+SnRNyR6OyKhzP
qW95IVKd46w17P26GBXuvnjpPLnSiw5PxA0kf6Qwh0Xc3sp8eQGbvkNHUlYaEPygQ/Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795731532;
h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To:User-Agent;
bh=6NaQjTa6jKzQlXl+Ymm0eHNNKJUkUDqdTDr1RKsh5uE=;
b=09jrXXYt1iMBEFNIP0LI+hfrWEG2SgS8ntoS7HOp3n0Kzo3Aubwo3VCfkeb6KoDa2JCX
GT84NgD3x7pkX0KMOu/coLIeFK+ApXH94RqG9vLjQkNqn/PRWuTjICxUr3kX90X9i86Zf
fW/OiLRNtHxWz20J6H1SuzRnA3s7wPLH6NvYLed0n+wTeVk1yOXBucDLgOTl6PTJfXJ6N
1p5TBeqUvCqhpRWIk7dG2praybLI6UlyccN184ERMPHyMbaMLV4nEHFBwvHCkMFC4T8+u
PSmnw+/oTg/gqEZ4jsoLWITkOA+j5YE+E8m3oaZJbPNbLOt0OCQveshkF0C/Y7JiOAA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=dLp573+s;
dmarc=pass header.from=crustytoothpaste.net;
spf=pass smtp.mailfrom=crustytoothpaste.net;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AECE606A326;
Thu, 26 Nov 2026 22:18:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (3072-bit key) header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=dLp573+s
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=172.105.7.114
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795731531;
b=HAhISmi0bh7yqRCmW8NszksIjD8QuRkLBDfDag9tVROsNrrbue9ol5Hz5pHqJBWJ8Q+d
yK0YqVIDIl7+s2TujFuNpAt/8vXRSeMhQddNszpPluTB442jsiw2IwNgFEG0M3xAWS6ew
dml3MjGQBe+VnEyu68lJzantXwHbeG0C3Mygpm4sygpFZ5WzkDxu+Y8EAdHTbFfq0pJKQ
ilgPC1VNLsWq/bSOIO9WiW7qpEHb7DOJCMoKo39CnrmkvJ9GkUePl9L+lTPO5QZswIAK6
0eT0MO/Kv2aoqANVWCEvr9tGLXKonK8bcqir7TMUlatdbI9Zbz2w17N/jXIWINjIwtA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795731531;
h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To:User-Agent;
bh=6NaQjTa6jKzQlXl+Ymm0eHNNKJUkUDqdTDr1RKsh5uE=;
b=Rcy225m7Uvb9c94m4dEx9dkKAIGs0NGNY76KQMcKYfPK0A1FAXnzbT3olSL42+eOnRug
tBAZ2FJ8PSDyRRohcDdMSr660OZC+4emIZOee/BiV+tDFzZmwNdLGuJiMefSedFDja+kV
T2FdoY5W6EhzpBZ5ztGGbHaAjCUvG0uu4s8qbVy2I42Ko0mTArVd+OiZk+7aw/54N7j5s
dao0tOZu89g1NirVh2BhTAxD8EBUMw8aJZL1HeMc9EmNOG8AZTbmFFfqpdAOJ980CjAwy
92YsJrJngw+MrLyik+XxiPqRM7chtQ1UPnXio7j4b+FqcelVEh2o0iQoOKy+3fXcS3w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=crustytoothpaste.net;
spf=pass smtp.mailfrom=crustytoothpaste.net;
dkim=pass header.d=crustytoothpaste.net header.i=@crustytoothpaste.net header.a=rsa-sha256 header.s=default header.b=dLp573+s;
arc=none smtp.remote-ip=172.105.7.114
X-Received: from complex.crustytoothpaste.net (complex.crustytoothpaste.net [172.105.7.114])
(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 441A9606A31C
for <git@vger.kernel.org>; Thu, 26 Nov 2026 22:18:51 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 441A9606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crustytoothpaste.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crustytoothpaste.net
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net;
s=default; t=1795731524;
bh=7MWxx2iPIrWe7rt1SWDUpwYjTeRX/jKM6C3gAa035Es=;
h=Date:From:To:Cc:Subject:References:Content-Type:
Content-Disposition:In-Reply-To:From:Reply-To:Subject:Date:To:CC:
Resent-Date:Resent-From:Resent-To:Resent-Cc:In-Reply-To:References:
Content-Type:Content-Disposition;
b=dLp573+s0aGVmhujlJ2qgBo/eZyG3cbq9RHYGdcuFSoyAzuxvZawD1NJ3PFRH+Nv0
mJwpwAxwlQSd0mUQOMdOxyMOOXbBAGkpmJ9LqksVNj//ddGVLuoZlzviua34yjUpzk
9Nvgej52QpK4y+lJbU2O3Kx9bm2YhRm3pZavWPPRNoKGe3HbaEJZTw7iH8AQ0EjqZB
udngwKjboimcPNPd7I0AFH2p6A1hWAy95BNEtRDFTXH7mrKYaa8J3fZ/tKdkzsZ1z7
6ZqU/9yochF1/LQygeCWvB7NDTwk2g9GgIs0Xx3rAWNSlqR0nGB6t2d4kzIynstqrt
/IGqaZCySIdOxw3et2aX9crhzaGLS1oZGk3FmENJlJf9byT8pyPiiTh+GHSEs428bp
sZYD5vcPHcDAUg8vUcZ6+15HW1Fq6v3mVI4LAmMRakah4E86iNX9EsTbh5yz2/l8JE
aeMkd0hRrjcywKAcb65g5NrxL9a5hLuhTVZalEkVh1Olr63lCb1
X-Received: from fruit.crustytoothpaste.net (unknown [IPv6:2607:f2c0:f00f:f901:3039:9617:3790:4535])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by complex.crustytoothpaste.net (Postfix) with ESMTPSA id EC59B200B1;
Thu, 26 Nov 2026 22:18:43 +0000 (UTC)
X-Cc: Christian Couder <christian.couder@gmail.com>, git@vger.kernel.org,
Junio C Hamano <gitster@pobox.com>, Patrick Steinhardt <ps@pks.im>,
Elijah Newren <newren@gmail.com>, Jeff King <peff@peff.net>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>
X-Mail-Followup-To: "brian m. carlson" <sandals@crustytoothpaste.net>,
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>,
Christian Couder <christian.couder@gmail.com>, git@vger.kernel.org,
Junio C Hamano <gitster@pobox.com>, Patrick Steinhardt <ps@pks.im>,
Elijah Newren <newren@gmail.com>, Jeff King <peff@peff.net>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <3b70d34b-5dba-48fb-ad5f-137e73c36c78@gmail.com>
X-User-Agent: Mutt/2.4.1 (2026-07-04)