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

Re: [PATCH] blame: document --color-* options

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 28, 2021, 16:22 UTC
Message-ID
<xmqq4ka4n00h.fsf@gitster.g>
In-Reply-To
<fe78329d-07a7-bdf3-2bda-13def35f3de3@gmail.com>
Bagas Sanjaya <bagasdotme@gmail.com> writes:
Show 12 quoted lines
> On 28/09/21 02.44, Junio C Hamano wrote:
>> Nowhere in "git blame --help" output we mention anything about
>> "metadata", so the readers of this new description will be left
>> puzzled what the word means in the context of this command.
>> We would need to pick words or phrases that readers can link easily
>> with the description of "THE PORCELAIN FORMAT" section.
>
> In git-blame(1), we only describe output format for "THE PORCELAIN
> FORMAT" as well as "INCREMENTAL OUTPUT", but not default format.
>
> On the other hand, --color-* options only works on default format, not
> the others.
Sorry for skipping a level of logical progression in the suggestion.

While I do not think we want to add another section for the default format, if we were to add such a section, the new description should use phrases that would have been used, and such a section would not use a new and unclear "metadata" in the description. Instead it would use phrases that the users can look for elsewhere in the same documentation.

What is colored is the summary of the commit the line came from (abbreviated commit object name, plus the author name and time by default) plus the line number, I think.

Thanks.
Previous: Dr. Matthias St. PierreNext: Bagas Sanjaya
Message 12 of 14 in “git-blame: '--color-by-age' option not documented in manual page”
  1. Dr. Matthias St. PierreSep 24, 2021
  2. blame: document --color-* optionsBagas Sanjaya, Sep 25, 2021
  3. Bagas SanjayaSep 25, 2021
  4. Junio C HamanoSep 27, 2021
  5. Bagas SanjayaSep 28, 2021
  6. Dr. Matthias St. PierreSep 28, 2021
  7. Bagas SanjayaSep 29, 2021
  8. Dr. Matthias St. PierreSep 29, 2021
  9. Bagas SanjayaSep 29, 2021
  10. Dr. Matthias St. PierreSep 29, 2021
  11. Dr. Matthias St. PierreSep 29, 2021
  12. Junio C HamanoSep 28, 2021
  13. Bagas SanjayaSep 29, 2021
  14. Junio C HamanoSep 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.