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

Re: [PATCH] Documentation: amended usages of various (sub)commands

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 28, 2021, 18:32 UTC
Message-ID
<xmqq35wfm8mt.fsf@gitster.g>
In-Reply-To
<de6d56b5-89e4-1e50-1011-0a9b9c46f4d9@gmail.com>
Bagas Sanjaya <bagasdotme@gmail.com> writes:
>>> ...
>> Wait, I expected that this patch touches Documentation/* (as the title implied),
>> but it seems like the patch content is something else (not related).
>> Totally wrong patch submitted here.
Please learn to trim your quotes.
Show 5 quoted lines
> Oops, I don't see that diff above. Sorry for that.
>
> What about this patch title below?:
>
> `Make (sub)command options conform to TD of option parsing`

"Make X conform" has low information contents (especially when nobody knows what the TD is), because nobody would try to make the code worse by making things nonconforming.

    Subject: [PATCH] column, range-diff: downcase option description
    It is customary not to begin the help text for each option given to
    the parse-options API with a capital letter.
    Downcase the first word of some option descriptions for "column"
    and "range-diff".
or something like that?

Even though the guideline for the documentation talks about two things (i.e. not starting with capital and omitting full-stop at the end), the help strings being touched by the patch only have problem with the former, so quoting the guideline in full would not help people understand what is changed and why.

Previous: Chinmoy ChakrabortyNext: Bagas Sanjaya
Message 5 of 12 in “Documentation: amended usages of various (sub)commands”
  1. Documentation: amended usages of various (sub)commandsChinmoy via GitGitGadget, Mar 28, 2021
  2. Bagas SanjayaMar 28, 2021
  3. Bagas SanjayaMar 28, 2021
  4. Chinmoy ChakrabortyMar 28, 2021
  5. Junio C HamanoMar 28, 2021
  6. Bagas SanjayaMar 29, 2021
  7. Documentation: make (sub)command options conform to TD of option parsingChinmoy via GitGitGadget, Mar 28, 2021
  8. column, range-diff: downcase option descriptionChinmoy via GitGitGadget, Mar 29, 2021
  9. Bagas SanjayaMar 29, 2021
  10. Philip OakleyMar 29, 2021
  11. column, range-diff: downcase option descriptionChinmoy via GitGitGadget, Mar 29, 2021
  12. Junio C HamanoMar 29, 2021

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.