git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Cogito] More flexiable colorize for Acked-by statement
@ 2005-06-20 22:19 Marcel Holtmann
  0 siblings, 0 replies; only message in thread
From: Marcel Holtmann @ 2005-06-20 22:19 UTC (permalink / raw)
  To: Petr Baudis; +Cc: GIT Mailing List

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

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>


[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 429 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-20 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20 22:19 [PATCH Cogito] More flexiable colorize for Acked-by statement Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).