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

Re: [PATCH 1/1] doc: git-bisect: convert to new doc format

From
Jean-Noël Avila <jn.avila@free.fr>
Date
Jan 13, 2026, 18:45 UTC
Message-ID
<1CDABB57-6197-49A5-B679-17D56153738C@free.fr>
In-Reply-To
<xmqqqzrtllkw.fsf@gitster.g>
Le 13 janvier 2026 13:54:23 GMT+01:00, Junio C Hamano <gitster@pobox.com> a écrit :
Show 20 quoted lines
>Jean-Noël AVILA <jn.avila@free.fr> writes:
>
>>>  ------------
>>> -$ git bisect run my_script arguments
>>> +$ git bisect run <my_script> <arguments>
>>>  ------------
>>
>> Here, if you want to use to use the synopsis formatting, you may replace the 
>> verbatim block with a [synopsis] one:
>>
>> [synopsis]
>> $ git bisect run <my_script> <arguments>
>>
>
>Can you add a bit to "if you _want_ to use" above?  What's the
>pros-and-cons of doing so or leaving it as the way it is written in
>the patch?  That would help people on the same page when they decide
>if they want to use the [synopsis], preferring over the verbatim
>block.
>

The rationale is simple: the patch is changing the mode of this section from a verbatim instance of example to a synopsis model of command. I'm not settled on whether this is a good move. What is sure though is that when writing in synopsis grammar, it is better to switch to synopsis style, in order to maintain a consistent output and allow clearer and more direct explanations.

Previous: Junio C Hamano
Message 6 of 6 in “doc: git-bisect to synopsis”
  1. 0/1 doc: git-bisect to synopsisMichael Lyons, Jan 11, 2026
  2. 1/1 doc: git-bisect: convert to new doc formatMichael Lyons, Jan 11, 2026
  3. Junio C HamanoJan 12, 2026
  4. Jean-Noël AVILAJan 12, 2026
  5. Junio C HamanoJan 13, 2026
  6. Jean-Noël AvilaJan 13, 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.