Re: [ANNOUNCE] Git v1.8.2-rc0
- From
- Tim 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