From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org, Junio C Hamano <junkio@cox.net>
Subject: Re: [RFC] Colorize 'commit' lines in log ui
Date: Sun, 23 Jul 2006 13:24:22 +0200 [thread overview]
Message-ID: <20060723112422.GB27825@lug-owl.de> (raw)
In-Reply-To: <20060723092417.GA7547@coredump.intra.peff.net>
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
On Sun, 2006-07-23 05:24:18 -0400, Jeff King <peff@peff.net> wrote:
> @@ -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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-07-23 11:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-23 9:24 [RFC] Colorize 'commit' lines in log ui Jeff King
2006-07-23 11:24 ` Jan-Benedict Glaw [this message]
2006-07-23 22:01 ` Jeff King
2006-07-24 7:06 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060723112422.GB27825@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox