git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MHMarcel Holtmann <marcel@holtmann.org>
Date
Jun 20, 2005, 22:19 UTC
Message-ID
<1119305948.26772.77.camel@pegasus>
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
Message 1 of 1 in “More flexiable colorize for Acked-by statement”
  1. More flexiable colorize for Acked-by statementMarcel Holtmann, Jun 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.