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.