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