Re: [RFC] Colorize 'commit' lines in log ui
- From
- Jan-Benedict Glaw <jbglaw@lug-owl.de>
- Date
- Jul 23, 2006, 11:24 UTC
- Message-ID
- <20060723112422.GB27825@lug-owl.de>
- In-Reply-To
- <20060723092417.GA7547@coredump.intra.peff.net>
On Sun, 2006-07-23 05:24:18 -0400, Jeff King <peff@peff.net> wrote:
Show 10 quoted lines
> @@ -33,7 +24,8 @@ static char diff_colors[][24] = {
> "\033[1m", /* bold */
> "\033[36m", /* cyan */
> "\033[31m", /* red */
> - "\033[32m" /* green */
> + "\033[32m", /* green */
> + "\033[33m" /* yellow */
> };
>
> static int parse_diff_color_slot(const char *var, int ofs)If people only were used to *always* place a comma behind the last array element, the diff would be shorter by one line each time...
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
Signature of: ...und wenn Du denkst, es geht nicht mehr,
the second : kommt irgendwo ein Lichtlein her.