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

Re: [PATCH v3 2/2] blame: document --color-* options

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Oct 2, 2021, 02:35 UTC
Message-ID
<e70942cd-8362-b8d0-f168-01f6c190fb0b@gmail.com>
In-Reply-To
<CAPig+cSWutBRQK+Qy=nkaDZRvy4trVNPuo+cF-quC2rBwNe2fw@mail.gmail.com>
On 02/10/21 02.10, Eric Sunshine wrote:
Show 16 quoted lines
>> +       config option. Only the line annotation (see "The Default Format" section)
>> +       is colored.
> 
> You can drop the last sentence entirely if you start the blurb like this:
> 
>      Color line annotations differently, if...
> 
>> +--color-by-age::
>> +       Color lines depending on the age of the line. The `color.blame.highlightRecent`
>> +       config option controls what color is used for which range of age. Only the
>> +       line annotation (see "The Default Format" section) is colored.
> 
> Ditto about dropping the last sentence.
> 
>      Color line annotations depending upon the age of the line.
> 

I observed that both --color-lines and --color-by-age only apply to default blame format, so the wording can be `Color line annotations ... if neither --porcelain nor --incremental option is specified ...`

-- 
An old man doll... just what I always wanted! - Clara
Previous: Eric SunshineNext: Junio C Hamano
Message 6 of 7 in “blame: documentation update”
  1. 0/2 blame: documentation updateBagas Sanjaya, Oct 1, 2021
  2. 1/2 blame: Describe default output formatBagas Sanjaya, Oct 1, 2021
  3. Junio C HamanoOct 1, 2021
  4. 2/2 blame: document --color-* optionsBagas Sanjaya, Oct 1, 2021
  5. Eric SunshineOct 1, 2021
  6. Bagas SanjayaOct 2, 2021
  7. Junio C HamanoOct 4, 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.