# [PATCH Cogito] More flexiable colorize for Acked-by statement

1 messages from 2005-06-20 to 2005-06-20. Participants: Marcel Holtmann.
Thread: https://gitlist.dev/t/996

## Marcel Holtmann, 2005-06-20 22:19

Subject: [PATCH Cogito] More flexiable colorize for Acked-by statement
Message-ID: <1119305948.26772.77.camel@pegasus>
URL: https://gitlist.dev/e/1119305948.26772.77.camel%40pegasus

```
Hi Petr,

the attached patch makes the colorize of the Acked-by statement a little
bit more flexible. It seems like people tend to use various combinations
of upper and lower case letters.

Regards

Marcel


Signed-off-by: Marcel Holtmann <marcel@holtmann.org>



diff --git a/cg-log b/cg-log
--- a/cg-log
+++ b/cg-log
@@ -265,7 +265,7 @@ print_commit_log()
 	sed -e '
 		s/^    \(.*\)/% \1/
 		/^% *[Ss]igned-[Oo]ff-[Bb]y:.*/ s/^% \(.*\)/% '$colsignoff'\1'$coldefault'/
-		/^% *[Aa]cked-[Bb]y:.*/ s/^% \(.*\)/% '$colsignoff'\1'$coldefault'/
+		/^% *[Aa][Cc][Kk]ed-[Bb]y:.*/ s/^% \(.*\)/% '$colsignoff'\1'$coldefault'/
 	' | while read key rest; do
 		trap exit SIGPIPE
 		process_commit_line

```
