[kernel-team] 14/47: Relax matching of 'Cc: stable' lines
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Dec 21 00:30:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository kernel-team.
commit a4222173d4261c4a043ce62216782f568c855542
Author: Ben Hutchings <benh at debian.org>
Date: Mon Jun 4 05:44:24 2012 +0000
Relax matching of 'Cc: stable' lines
svn path=/people/benh/; revision=19080
---
scripts/benh/git-format-patch-for-backport | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/benh/git-format-patch-for-backport b/scripts/benh/git-format-patch-for-backport
index e29bbbb..d9b5678 100755
--- a/scripts/benh/git-format-patch-for-backport
+++ b/scripts/benh/git-format-patch-for-backport
@@ -22,7 +22,7 @@ git format-patch "$@" | while read name; do
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git
More information about the Kernel-svn-changes
mailing list