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

Re: [PATCH/RFC] More colors for pretty format: yellow, purple, cyan, white and black

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Apr 25, 2008, 20:42 UTC
Message-ID
<48124220.50300@lsrfire.ath.cx>
In-Reply-To
<c19f1c910804241026q14f95af7qa0289018d08ac23a@mail.gmail.com>
Tom ten Thij schrieb:
> Add support for other colors in pretty format the same way %Cred
> works.

Hmm. Currently you can get the same effect by adding the escape codes to the format string directly. Arguably, --pretty=format should honour the config variable color.diff and the options --color and --no-color to make the colour placeholders useful (both your extended set and the current one).

René
Previous: Tom ten Thij
Message 2 of 2 in “More colors for pretty format: yellow, purple, cyan, white and black”
  1. More colors for pretty format: yellow, purple, cyan, white and blackTom ten Thij, Apr 24, 2008
  2. René ScharfeApr 25, 2008

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.