Article View: linux.kernel.git
Article #2710Re: [PATCH 2/2] unpack-trees: consistently use "struct index_state *istate"
From: Derrick Stolee
Date: Mon, 09 Nov 2026 13:46
Date: Mon, 09 Nov 2026 13:46
15 lines
11452 bytes
11452 bytes
On 11/6/2026 8:29 PM, Junio C Hamano wrote: > There are some functions that call it index. Make them consistent. > > Signed-off-by: Junio C Hamano <gitster@pobox.com> > --- > * This change is not necessary for functioning of anything, but > while writing the previous patch, the inconsistency was > irritating enough. I agree that making this consistent will help a lot when mutating the code in the future. Doing this cleanup next to the_repository cleanup makes sense. Thanks, -Stolee
Technical Details
Message-ID:
<b3004724-3ed6-4b41-8b3f-eaa19a09394d@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74928-linux-kernel-git=dewy.ruReferences:
<xmqqtsltbfdv.fsf@gitster.g> <xmqqpkwhbfa1.fsf@gitster.g>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74928-linux-kernel-git=dewy.ru
From: stolee@gmail.com (Derrick Stolee)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH 2/2] unpack-trees: consistently use "struct index_state
*istate"
Date: Mon, 9 Nov 2026 08:46:45 -0500
Organization: Usenet Network
Message-ID: <b3004724-3ed6-4b41-8b3f-eaa19a09394d@gmail.com>
References: <xmqqtsltbfdv.fsf@gitster.g> <xmqqpkwhbfa1.fsf@gitster.g>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="370348"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:EW9ACSca9rlrC1icDZQgRVDMx18= sha256:BfoynKRkg9JZ3ae6MmAsavd2aKeMONfYYxFi6l5yk7I=
sha1:bR+dcvk4AgH3LiUPyRWWUv6Azpo= sha256:Y/zBKaXlg5p/uSx9IEibXk8P1FFUHKh8uBk4sQiA8P8=
Content-Language: en-US
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 C2BDD11380E; Mon, 9 Nov 2026 16:53:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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 (2048-bit key)
header.d=gmail.com
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 yA4FmkWSp-JB;
Mon, 9 Nov 2026 16:53:43 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-74928-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id D2574113780; Mon, 9 Nov 2026 16:53:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id 23422C7D84; Mon, 9 Nov 2026 13:46:55 +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=1794232008;
b=X5GWPLtDLnfy0+f1IYQOuK6I12/P4OSNO36FjQbqOCTOq92eR0hxavwPh5XQO2hNcPp6
Pq2TyzXD6TzfB0ssKyzzUaubT1+trz7a25YVIPUq3y5fGZjxkgv7XV7YQGnuT3E8mkcyk
o80f7j32frMPvppBR/g6JonhUCc/lo1hicnSXKmDYXwApDNvqrVAyKkW3kIAAr55u4hLT
SrJxHZcvU72xVWOR+JsOK3D2Tt1L+Xi1Rvv7RleH7aBS/QUKdztjkEePQlVeWEF0EvZuU
GLuJ1fRRBhA1oldThBbbJaRrYnD0ZKKZfagMj7h++15PV4rF0Ff6DMVgPRApeM477cw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794232008;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Message-ID:Date:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:User-Agent:Subject:To:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=XiK6REatTBfoD50yWXvuux2xaBDtt7uwWqSCvjoa6AY=;
b=vE3eV76neuIsKsctM02Nqfz0iootzkfumgvvrHwZlsPUGQin0YDb/vmnxTMwurQfIRQ5
c+hGdz0VT3AFZ+Uxt7w8f1vWaEy1OCQOkzzm8cod/DBf06gk86ww2zIttpuox39HnpjFB
DWVlmwKcPTGD6dUAzkau2y77tXQBQ3AQ1bLky5qVB3RhBIcPEHveC2p6vNDjedRnPJkyj
fU4u0MOMfQ7iViullqKMVmhuUnsV6Mi9QowhDEi2jajBtzpPlZ9Z7W1uqSIFTJd67WDnW
8QtZMOM+t9NeHHiAm7QhFvSGc09geLIsXcNheDgsQdbLhFmkjm6JyKmEbeSpXmwIIbg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=RBtok7XB;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
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 B854B606A332;
Mon, 9 Nov 2026 13:46:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=RBtok7XB
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.170
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794232007;
b=3z8r0EfBgMjQJuTht97l+4s0mVdg7wgdAOTwOnHWQbBe6AB56vCpf4YP6gfUYwIlo4Un
luCj3IcM2zSgzfbl7m5aCgppWN4pZyoIRWcvAERqDQMo5a7MK03o8sMr2q8rWVwSUvCTr
K6GWebcDA6A4wcbUaRmN+BwROqoDb5i58n5F2kY6d9W4i2SgSTU9X1geoC5XNtuATUU5N
+bfOvzCE3SYoSGIriiZ7ixXL3zN0z5T5lzZmQLtWN5/mj0n2HPHpm+WHDa5s15NhOXuli
ltJ6j1CxzEvq7hGm4+6qclW9PumsSkNYBouMUn9Hf67xjLGJfP3bMrSQQswhYNtne0A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794232007;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=XiK6REatTBfoD50yWXvuux2xaBDtt7uwWqSCvjoa6AY=;
b=2Fj0ayZhy6vnEausNTCpBS1WPv+zzL7w0lR1Bri/GYIFMAmwhK0OF4sKX/qh2jEWLwQs
QYhT42EkZ8VwhzY4XCuUnBWdStp5995C4j9hSApR5mDYQuz4RSmpLl6WVKDa7H8WJVxU9
3lWMqvdLZTRurWijyazW/OXHSJccpiN3ZJk6bRuZrAb/I9x66Mta+dKYAwqE14unoY7lv
q+Eg8mjF9qwij8Wrf+Cb49H8V6Rov+a4+wCSnDNSc/ZTzAsEKodbIlICaYGzr14G18R04
0zPYDNkDI1myUrSwUPLq/kJzKVof1bqE6DKWQVPtdkZsbJiiiCVGdA2wVCHrQ05s1kA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=RBtok7XB;
arc=none smtp.remote-ip=209.85.222.170
X-Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 883A7606A321
for <git@vger.kernel.org>; Mon, 9 Nov 2026 13:46:47 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 883A7606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-930c0f9c1b1so83040485a.1
for <git@vger.kernel.org>; Mon, 09 Nov 2026 05:46:47 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794232006; x=1794836806; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:to:subject:user-agent:mime-version:date
:message-id:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=XiK6REatTBfoD50yWXvuux2xaBDtt7uwWqSCvjoa6AY=;
b=RBtok7XBZ0bZS31KTScVLAf4vRIuC54enJ+Z+FxqErY2aV8plrPrXPrk8/bTGXMmff
JcLSi1D2Byi3uT4zIGx7CQTtV22BpaJNk77ciBiBS9vDDE4jUG3QwI+vsvYAWQ6cFCfi
Gl0jJeJRL5EAiHSv7FHOUWFBha8T0Jgp7oXvVCSFV3cbPnzYD1TpANyKV8KK+MMwVRlC
kXl6fUmRqVu8R7YlCF1ISs9ibZmYeYRDiXLQwETCoCV3TuV0PnwY7LdrEHdXU40slQ/q
vfsfM3NXjm2I89oI4K+bdTs3xuoywDLqWkoiUGyaqhRo3OkTOD1OuZcYpY/e5eAvMVzi
jnhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794232006; x=1794836806;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:to:subject:user-agent:mime-version:date
:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=XiK6REatTBfoD50yWXvuux2xaBDtt7uwWqSCvjoa6AY=;
b=dBL+AfZfp+qJGR1Twdp4fTwqCy+T12wj0mVtglVzZhoxlzyrX36UeZWz/GXIRVX+bX
/Xg5KTtkhDYu+gXyJWauBPUAPq7EMzAolBJi2jyN4C8laJFQhJTV5EzTOiQtS1Aq/m/x
sdM6HKxWgmNRT4akN8LEM9hacvtPdlwkP3ZEAYr4l4RSMiuRaq0dKnYWu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DfPYkqK4
wLtoyoXohy8eT+JkT3IGvl4paXthsZgqQ17H0v/uJwPCiAld8SiEvSMxIMnI6Lwr6mkRPsis2fh
L76sS/KwiEPcFHxb7Cs7dw5xKAYrEeXLiSirn2o+afPLj7Sr834I68fA==
X-Received: by 2002:a05:620a:2686:b0:93f:5ac:14a0 with SMTP id af79cd13be357-947848f1c3amr584844185a.67.1794232006404;
Mon, 09 Nov 2026 05:46:46 -0800 (PST)
X-Received: from [192.168.1.109] ([136.61.86.144])
by smtp.gmail.com with ESMTPSA id 6a1803df08f44-91eceb57303sm42732986d6.4.2026.11.09.05.46.45
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 09 Nov 2026 05:46:45 -0800 (PST)
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-User-Agent: Mozilla Thunderbird
X-In-Reply-To: <xmqqpkwhbfa1.fsf@gitster.g>