Code

Color 'Reviewed-by' and 'Tested-by' lines
authorIngmar Vanhassel <ingmar@exherbo.org>
Tue, 27 Apr 2010 14:18:25 +0000 (16:18 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 28 Apr 2010 13:26:53 +0000 (09:26 -0400)
Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
Rename the symbols 'reviewed' and 'tested'.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
tig.c
tigrc.5.txt

diff --git a/tig.c b/tig.c
index 0c57533fb7c9319315b5cd675083c31ea09c0bfc..351b933d849e1f0d502bfdc3087cd2d21abe232e 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -1279,6 +1279,8 @@ LINE(AUTHOR,         "author ",           COLOR_GREEN,    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(TESTED,      "    Tested-by",     COLOR_YELLOW,   COLOR_DEFAULT,  0), \
+LINE(REVIEWED,    "    Reviewed-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 c54adec5c395868be40b956d3e28e74f44f81b01..fe5fc74285b13738dc430426195288b54ee271d0 100644 (file)
@@ -487,9 +487,9 @@ omnipresent.
 
 Commit message::
 
-For now only `Signed-off-by` and `Acked-by` lines are colorized.
+`Signed-off-by`, `Acked-by`, `Reviewed-by` and `Tested-by` lines are colorized.
 
-*signoff*, *acked*
+*signoff*, *acked*, *reviewed*, *tested*
 
 Tree markup::