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

Re: [ANNOUNCE] Git v1.8.2-rc0

From
TCTim Chase <git@tim.thechases.com>
Date
Feb 18, 2013, 19:30 UTC
Message-ID
<20130218133008.7fd20424@bigbox.christie.dr>
In-Reply-To
<7vk3q6e94s.fsf@alter.siamese.dyndns.org>
On 2013-02-17 16:52, Junio C Hamano wrote:
>  * Color specifiers, e.g. "%C(blue)Hello%C(reset)", used in the
>    "--format=" option of "git log" and friends can be disabled when
>    the output is not sent to a terminal by prefixing them with
>    "auto,", e.g. "%C(auto,blue)Hello%C(auto,reset)".

Thanks so much! It has long annoyed me that I had to maintain pairs of nigh-identical aliases, one with colors for output on my terminal, the other alias uncolored for piping to further commands.

-tkc
Previous: Matthieu Moy
Message 6 of 6 in “[ANNOUNCE] Git v1.8.2-rc0”
  1. Junio C HamanoFeb 18, 2013
  2. Matthieu MoyFeb 18, 2013
  3. Junio C HamanoFeb 18, 2013
  4. Junio C HamanoFeb 18, 2013
  5. Matthieu MoyFeb 19, 2013
  6. Tim ChaseFeb 18, 2013

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.