From: Omri Sarig Date: Mon, 23 Nov 2026 16:56:44 GMT Subject: Re: [PATCH] doc: update-index: Format options correctly Message-ID: <371bd5df-960f-427c-8631-e1af4535d1bc@gmail.com> In-Reply-To: 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 >> Sent: 23 November 2026 15:32 >> To: Junio C Hamano >> 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 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`. >>> ... >>> --:: >>> - Prepare patches from the topmost commits. >>> +`-`:: >>> + Prepare patches from the topmost __ 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.