[kernel] r19080 - people/benh

Ben Hutchings benh at alioth.debian.org
Mon Jun 4 05:44:27 UTC 2012


Author: benh
Date: Mon Jun  4 05:44:24 2012
New Revision: 19080

Log:
Relax matching of 'Cc: stable' lines

Modified:
   people/benh/git-format-patch-for-backport

Modified: people/benh/git-format-patch-for-backport
==============================================================================
--- people/benh/git-format-patch-for-backport	Mon Jun  4 00:28:29 2012	(r19079)
+++ people/benh/git-format-patch-for-backport	Mon Jun  4 05:44:24 2012	(r19080)
@@ -22,7 +22,7 @@
     mv "$name" "$name".orig
     awk 'BEGIN { comment = 0; IGNORECASE = 1 }
 FNR == 1 { hash = $2 }
-/^Cc: <?stable@(vger\.)?kernel\.org/ {
+/^Cc:\s*(.*<)?stable@(vger\.)?kernel\.org/ {
     gsub("^Cc:\\s*(.*<)?stable@(vger\\.)?kernel\\.org>? *", "");
     print "", $0 >"/dev/stderr"
     comment = 1



More information about the Kernel-svn-changes mailing list