Skip to contentSkip to conversation

More flexiable colorize for Acked-by statement

PATCH New Marcel Holtmann 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 More flexiable colorize for Acked-by statement

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

cg-log +1 -1
@@ -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