{"thread":{"id":"996","subject":"[PATCH Cogito] More flexiable colorize for Acked-by statement","startedAt":"2005-06-20T22:19:08Z","lastAt":"2005-06-20T22:19:08Z","messageCount":1,"participants":["Marcel Holtmann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"5094","messageId":"1119305948.26772.77.camel@pegasus","threadId":"996","inReplyTo":null,"subject":"[PATCH Cogito] More flexiable colorize for Acked-by statement","fromName":"Marcel Holtmann","fromEmail":"marcel@holtmann.org","sentAt":"2005-06-20T22:19:08Z","receivedAt":"2005-06-20T22:19:08Z","isPatch":true,"sender":{"key":"marcel@holtmann.org","avatar":null},"body":"Hi Petr,\n\nthe attached patch makes the colorize of the Acked-by statement a little\nbit more flexible. It seems like people tend to use various combinations\nof upper and lower case letters.\n\nRegards\n\nMarcel\n\n\nSigned-off-by: Marcel Holtmann <marcel@holtmann.org>\n\n\n\ndiff --git a/cg-log b/cg-log\n--- a/cg-log\n+++ b/cg-log\n@@ -265,7 +265,7 @@ print_commit_log()\n \tsed -e '\n \t\ts/^    \\(.*\\)/% \\1/\n \t\t/^% *[Ss]igned-[Oo]ff-[Bb]y:.*/ s/^% \\(.*\\)/% '$colsignoff'\\1'$coldefault'/\n-\t\t/^% *[Aa]cked-[Bb]y:.*/ s/^% \\(.*\\)/% '$colsignoff'\\1'$coldefault'/\n+\t\t/^% *[Aa][Cc][Kk]ed-[Bb]y:.*/ s/^% \\(.*\\)/% '$colsignoff'\\1'$coldefault'/\n \t' | while read key rest; do\n \t\ttrap exit SIGPIPE\n \t\tprocess_commit_line\n"}]}