diff: Support both attributes and colors
authorTimo Hirvonen <tihirvon@gmail.com>
Thu, 13 Jul 2006 16:06:12 +0000 (19:06 +0300)
committerJunio C Hamano <junkio@cox.net>
Fri, 14 Jul 2006 04:53:23 +0000 (21:53 -0700)
commitf37399e6b0689b8b9a5a4cf9149ede5a39fca549
tree507ae7155c199d36035834b4d674d881e5b17aa6
parentff4d78041e85d1eddb17f2eee497e29aaeee4564
diff: Support both attributes and colors

Make it possible to set both colors and a attribute for diff colors.
Background colors are supported too.

Syntax is now:

[attr] [fg [bg]]
[fg [bg]] [attr]

Empty value is same as "normal normal", ie use default colors.  The new
syntax is backwards compatible.

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c