Also color Acked-by lines
authorJonas Fonseca <fonseca@diku.dk>
Mon, 11 Sep 2006 23:36:32 +0000 (01:36 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Mon, 11 Sep 2006 23:36:32 +0000 (01:36 +0200)
tig.c
tigrc.5.txt

diff --git a/tig.c b/tig.c
index 398f777..66c5f76 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -565,6 +565,7 @@ LINE(TREE,     "tree ",             COLOR_BLUE,     COLOR_DEFAULT,  0), \
 LINE(AUTHOR,      "author ",           COLOR_CYAN,     COLOR_DEFAULT,  0), \
 LINE(COMMITTER,           "committer ",        COLOR_MAGENTA,  COLOR_DEFAULT,  0), \
 LINE(SIGNOFF,     "    Signed-off-by", COLOR_YELLOW,   COLOR_DEFAULT,  0), \
+LINE(ACKED,       "    Acked-by",      COLOR_YELLOW,   COLOR_DEFAULT,  0), \
 LINE(DEFAULT,     "",                  COLOR_DEFAULT,  COLOR_DEFAULT,  A_NORMAL), \
 LINE(CURSOR,      "",                  COLOR_WHITE,    COLOR_GREEN,    A_BOLD), \
 LINE(STATUS,      "",                  COLOR_GREEN,    COLOR_DEFAULT,  0), \
index 354d46f..7c49c59 100644 (file)
@@ -336,9 +336,9 @@ omnipresent.
 
 Commit message::
 
-For now only `Signed-off-by` lines are colorized.
+For now only `Signed-off-by` and `Acked-by` lines are colorized.
 
-*signoff*
+*signoff*, *acked*
 
 --