Article View: linux.kernel.git
Article #3641Re: [PATCH] doc: update-index: Format options correctly
From: Omri Sarig
Date: Mon, 23 Nov 2026 16:56
Date: Mon, 23 Nov 2026 16:56
118 lines
19469 bytes
19469 bytes
On 23/11/2026 16.56, Richard Kerry wrote: > Hmmmm.... > > We've just had some discussion on this. > Spot the line that isn't part of the reply? > And that is not surrounded by blanks. > So is not visible. Sorry! I'll make sure to format my mails correctly going forward. > >> No, I am not suggesting "talked about" is better. "has references to" >> (or "refers to") is perfectly fine once it is written in the present >> tense, as the early part of a proposed log message is supposed to give >> an observation of the current state. > Understood, I'll update. >>> missing the relevant markers, causing them to be formatted as text >>> instead of as references. >> But then "as text instead of as references" somewhat misses the mark. > Kind regards, > > Richard Kerry > BNCS Engineer – Media Competency Centre > MidCity Place, 71 High Holborn – London WC1V 6EA – UK > atos.ai > > > > > >> -----Original Message----- >> From: Omri Sarig <omri.sarig13@gmail.com> >> Sent: 23 November 2026 15:32 >> To: Junio C Hamano <gitster@pobox.com> >> Cc: git@vger.kernel.org >> Subject: Re: [PATCH] doc: update-index: Format options correctly >> >> Caution: External email. Do not open attachments or click links, unless this email >> comes from a known sender and you know the content is safe. >> >> >> On 22/11/2026 21.19, Junio C Hamano wrote: >>> Omri Sarig <omri.sarig13@gmail.com> writes: >>> >>>> Subject: Re: [PATCH] doc: update-index: Format options correctly >>> I'd downcase "Format" -> "format". >> Sorry, switching between different conventions bound to get me confused >> sometimes. >> I've already updated in V2, and I'll make sure all future patchsets have the correct >> casing. >>>> The update-index man page had references to several options, which >>>> were >>> I take "had reference to" to mean "talked about" here. >>> >>> No, I am not suggesting "talked about" is better. "has references to" >>> (or "refers to") is perfectly fine once it is written in the present >>> tense, as the early part of a proposed log message is supposed to give >>> an observation of the current state. >> Understood, I'll update. >>>> missing the relevant markers, causing them to be formatted as text >>>> instead of as references. >>> But then "as text instead of as references" somewhat misses the mark. >>> These parts of text still refer to option names. >>> >>> They should be typeset in `monospaced`, which is the convention in our >>> manual pages. And that is the issue you are addressing. >>> >>> These changes do not make things worse, but I'd prefer not to see too >>> many low-risk & low-value patches that address overly narrow issues. >>> If we compare the resulting text after this patch, e.g., >> Understood. My thought process is that by introducing these small changes, we're >> able to make small improvements, without putting too big of a burden on the >> review time. >> >> I'm in the process of reading through much of the documentation, and along the >> way, I try to note these small issues that can be fixed easily. >> Would you rather that in the future I 1) make bigger re-works as part of patches, >> or 2) not send these patches altogether? >> >> If it's easier, I'm also completely fine with dropping this patchset. >> As you wrote, it is a low-value patch. >>>> diff --git a/Documentation/git-update-index.adoc >>>> b/Documentation/git-update-index.adoc >>>> index 9bea9fab9a..9b956216d2 100644 >>>> --- a/Documentation/git-update-index.adoc >>>> +++ b/Documentation/git-update-index.adoc >>>> @@ -57,21 +57,21 @@ OPTIONS >>>> updates are needed by checking stat() information. >>>> >>>> -q:: >>>> - Quiet. If --refresh finds that the index needs an update, the >>>> + Quiet. If `--refresh` finds that the index needs an update, >>>> + the >>>> default behavior is to error out. This option makes >>>> 'git update-index' continue anyway. >>> with another manual page that has these mark-up corrected in Jean-Noël >>> Avila's series from early this year, e.g., what e9a99ef2da >>> (doc: convert git-format-patch synopsis and options to new style, >>> 2026-07-23) did: >>> >>> Prepare each non-merge commit with its "patch" in >>> one "message" per commit, formatted to resemble a UNIX mailbox. >>> The output of this command is convenient for e-mail submission or >>> -for use with 'git am'. >>> +for use with `git am`. >>> ... >>> --<n>:: >>> - Prepare patches from the topmost <n> commits. >>> +`-<n>`:: >>> + Prepare patches from the topmost _<n>_ commits. >>> >>> you would notice that while we typeset `--refresh` in monospace now >>> (which is a good thing to do), we should also update the enumeration >>> header "-q::" to "`-q`::", and also "'git update-index'" in single >>> quotes to use the same `backquote`. >>> >>> Also the way these changes are described in Jean-Noël's log messages >>> is quite good. You would want to imitate these messages. >> Thank you for the reference. If you still want me to update the current patchset, >> I'll update the format as was done there. >>> Thanks. >> Thank you for the review! >> > Atos is a trading name used by the Atos group. The trading entity is registered in England and Wales: Atos IT Services UK Limited (registered number 01245534). The registered office is located at: Second Floor, MidCity Place, 71 High Holborn, London, WC1V 6EA. The VAT No. is: GB232327983. This e-mail and the documents attached are confidential and intended solely for the addressee and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use, or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended, or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
Technical Details
Message-ID:
<371bd5df-960f-427c-8631-e1af4535d1bc@gmail.com>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76152-linux-kernel-git=dewy.ruReferences:
<20261122152538.107580-1-omri.sarig13@gmail.com> <xmqqfqwsk4a6.fsf@gitster.g> <6954cd53-43c8-48ca-82da-35c673dee260@gmail.com> <AS4PR02MB8336DCFEB4C0076DCE45F950EB452@AS4PR02MB8336.eurprd02.prod.outlook.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76152-linux-kernel-git=dewy.ru
From: omri.sarig13@gmail.com (Omri Sarig)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] doc: update-index: Format options correctly
Date: Mon, 23 Nov 2026 17:56:44 +0100
Organization: Usenet Network
Message-ID: <371bd5df-960f-427c-8631-e1af4535d1bc@gmail.com>
References: <20261122152538.107580-1-omri.sarig13@gmail.com>
<xmqqfqwsk4a6.fsf@gitster.g> <6954cd53-43c8-48ca-82da-35c673dee260@gmail.com>
<AS4PR02MB8336DCFEB4C0076DCE45F950EB452@AS4PR02MB8336.eurprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Info: usenet.network;
logging-data="3932682"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:0WL2VeIh0RMnzw0htcCeq3aCRA4= sha256:3DdFDQiLG+Sc+SFaSAmWLSllBg+vfz0oNyCyTPwGuZs=
sha1:I/xtb+YUx7rzLh87pkZzjtrOKoA= sha256:tcmUSnwiss69RmTs+uIHAS0CTGkD3r/RJaUC3Np6nU8=
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 8AC3E125DB9; Mon, 23 Nov 2026 19:57:09 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[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 O5qitCcDcYpT;
Mon, 23 Nov 2026 19:57:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-76152-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 48BA5125DBF; Mon, 23 Nov 2026 19:56:56 +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 86D1A2CC2C; Mon, 23 Nov 2026 16:56:54 +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=1795453012;
b=HW8+pmi5cu+DOIvsG4c6sGmuOGA+q8M8L4RTODroxwr9BC8iG1jc9c4SJHPd1Rr2aoBi
4rHS2jM67/zD9kUitRlOdq9oKhZfEh8chebTeEn92MsOrNJ6tuszyg63DW4mba6gLSJZh
bMAuFq7rE+NdZvXFMf+Ze3TwCIEVets7TINrafGs8iVnOWUO2ujqKkKpErrzjcEmvPPb2
0SBu+yNltK65dOGzXsNNc9pjQKwY3h/n8kI6Mvitkf6Vx2JXMAntzbeNiZmwrYwfw1E1H
utmD/R1fHjwNpkEUZkZahoRVMjrOpWQUb4imGP3OPdLuJOweAe+4MLRNL91dIhsq3Ww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795453012;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature: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=CcKTN/ne/NrxBF9vR7p5bNsGZd2SV++BaPo2YcBUq+4=;
b=d11xyZgwymdL4w2b9KomZ2eQskje7CDW3UUotpXiAI3mz5pPNlYWweMw9+SdfMdn0yfs
qXk2R5318hrxL8vbHl6FF6AS1rC1sqroJ9MaYAudpLp7fVdIZpY3mi4/yVJpK/RslE4O3
Ugc7240eexqMaOsTt46K50PUi/Bl7aj2+KVn+FSL/w+xvv2zDY4ziBwafXAsAlSyVz5G6
iwF/lixg3JIEZGWh06sj3xPD21xQC6TF53LhifQYIK6ee+X+NEgiI4EbtjOZ2eS9/3r7R
NC0/mPwvlHngUoOXc6ZECb5dhBmt9uRSpf8e1TsFLxfPgUPIkTpYhBob5a6yFlDQWXw==
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="G2z/rnth";
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 565AB606A680;
Mon, 23 Nov 2026 16:56:52 +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=G2z/rnth
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.49
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795453011;
b=WmeBlMsjSjqn28OJgsEY/dcn7PIdgKoP+dgjI86+VLQEsggGgAjltw+UadwABPZjh2kR
SM/r2YFZ1ZyjWPuSnKZp4Xl3QryWh2vx2aX0sv4Uvu4t/IawuO089n8Bwjatnt5L3/IVn
PKrRCwfL6RAeTNO3ong64RR9uCkrBl43nH4fdkh3Cx87OYl7tV5yHDjUqw+0PjA2d1MFx
uMpdKYJHfOvBiTWVMmvJXUWef8ofhRd2yBcx8//X7c7xQnvJZ5kaHQ2GeLeSSaLXRd+hQ
GUdWFCLp93+RKGl6K9oVchyZAr/6RAW3x+r0f9T7gbV7krqPatJSjUyKp10upBTlv/Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795453011;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
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=CcKTN/ne/NrxBF9vR7p5bNsGZd2SV++BaPo2YcBUq+4=;
b=aFoyVK70ycvE+ChTuUYFmEeeyr0hapLDTjM3TAUgiy7aR7qqJSygESwq3saDfPphc77h
qQpHPOtB8jqUbk5St7lCUVvCe4mrSCTWtEGFnAJJKkFb8cgDBFoxrd8Z+YV6sc0Amj2pp
sV59ZP1GvjL0pzkfXWH/jpL20lZ6SyIO8P+UPmSk07P5cLrVJrDyPjm/KutayiCJiq0x3
VARyPgiT4BRIX+GiAlApYOVfo9xB+v8RP/CO9xIzERRWEnziiynWz6PCv3L5QBX4Kje8z
ZpaKOYAFBdr4Sgzc8fcA1E1jeKW0Ock6rXK/uw0HHcxUWVnMA2qT1ygrBbIkl8SYZHQ==
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="G2z/rnth";
arc=none smtp.remote-ip=209.85.208.49
X-Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49])
(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 24F44606A330
for <git@vger.kernel.org>; Mon, 23 Nov 2026 16:56:49 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 24F44606A330
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-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-6b7ddb99db4so4601848a12.0
for <git@vger.kernel.org>; Mon, 23 Nov 2026 08:56:48 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1795453007; x=1796057807; 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=CcKTN/ne/NrxBF9vR7p5bNsGZd2SV++BaPo2YcBUq+4=;
b=G2z/rnthk0QOpZlaUZhdT7WgC1aaTwKePGon3GZhTqduZZ03AuFGeftDNJ151P7GbU
cfERbx/rq2aMe6SRcm+REcWQe0BiQ+9rPvAuo3yRH+AOlArLdeSBqL750s7AwpIBw+co
zB8FR1499YsOPbdoE/sAU9xXcoPTXHJkoTc9gfFLD9U67ARyjBieDi0wWbihcIN4H9LY
DWPuO0OZLtzBbsr0MEmp9O0zfzzr2v6DgEaTJUsgvjJKIdNmBe3gDjnxO3ozrBl1yRc3
8E3szqq7Q+VxVRa6+B5H1nwMB8J1l1kwvRM9thI690sEiWAZzje6GcC8k/jvK6wKOMfW
RaNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795453007; x=1796057807;
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=CcKTN/ne/NrxBF9vR7p5bNsGZd2SV++BaPo2YcBUq+4=;
b=fmIWjd2edxvZcVqhHuggARp8OEWFugCiZCY19VSfBaQFKu73vYL5R1+1AXtCRkUE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gD/rcE77y6dAWWViMiW0=
X-Received: by 2002:a05:6402:13d6:b0:6ba:9025:53c2 with SMTP id 4fb4d7f45d1cf-6ba90255abfmr4131519a12.20.1795453007350;
Mon, 23 Nov 2026 08:56:47 -0800 (PST)
X-Received: from [192.168.0.172] ([217.71.1.73])
by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6ba370cbeecsm5712478a12.6.2026.11.23.08.56.45
for <git@vger.kernel.org>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 23 Nov 2026 08:56:46 -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: <AS4PR02MB8336DCFEB4C0076DCE45F950EB452@AS4PR02MB8336.eurprd02.prod.outlook.com>