Re: [PATCH 2/2] expand --pretty=format color options
- From
Jeff King <peff@peff.net>
- Date
- Jan 18, 2009, 17:37 UTC
- Message-ID
- <20090118173753.GB17434@coredump.intra.peff.net>
- In-Reply-To
- <49736331.8010003@lsrfire.ath.cx>
On Sun, Jan 18, 2009 at 06:13:21PM +0100, René Scharfe wrote:
> Another step would be for --pretty=format to respect the color config, > i.e. it shouldn't print any colour codes if colouring is turned off or > if set to auto while writing to file or pipe.
That makes sense to me. In theory, we could offer an "always use this color" and a "conditionally use this color" substitution. But I don't really see why anyone would want the "always use this color" one (they could just say --color, then).
-Peff