git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: update-index: Format options correctly

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 23, 2026, 20:34 UTC
Message-ID
<xmqq5wxn5ltw.fsf@gitster.g>
In-Reply-To
<6954cd53-43c8-48ca-82da-35c673dee260@gmail.com>
Omri Sarig <omri.sarig13@gmail.com> writes:
Show 9 quoted lines
>> 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.

Yeah, that is very much appreciated. The update-index command is one of the oldest part of the system (it was present in Linus's very initial version given to the public, committed on Apr 7th 2005, under a slightly different "update-cache" name), and documentation update may be long overdue.

Previous: Kristoffer Haugsbakk
Message 8 of 8 in “doc: update-index: Format options correctly”
  1. doc: update-index: Format options correctlyOmri Sarig, Nov 22, 2026
  2. doc: update-index: format options correctlyOmri Sarig, Nov 22, 2026
  3. Junio C HamanoNov 22, 2026
  4. Omri SarigNov 23, 2026
  5. Richard KerryNov 23, 2026
  6. Omri SarigNov 23, 2026
  7. Kristoffer HaugsbakkNov 24, 2026
  8. Junio C HamanoNov 23, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.