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.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html