quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH] skip "Cc: address@hidden"


From: Mikulas Patocka
Subject: [Quilt-dev] [PATCH] skip "Cc: address@hidden"
Date: Sun, 3 Jun 2018 17:40:45 +0200 (CEST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

The Linux kernel uses the tag "Cc: address@hidden" or "Cc: address@hidden" to denote that the patch should be backported. The patches to backport are selected automatically from git history based on this tag.

If quilt finds the tag "Cc: address@hidden" in the patch file, it tries to send the patch to the email address "address@hidden" - that is just incorrect - the patches shouldn't be send there.

Signed-off-by: Mikulas Patocka <address@hidden>

Index: share/quilt/mail
===================================================================
--- share.orig/quilt/mail
+++ share/quilt/mail
@@ -408,6 +408,7 @@ then
                set -- ${*// /\\|}

                sed -n -e "/\<${LOGNAME:-$(whoami)}@/d" \
+                      -e "/\<address@hidden>/d" \
                       -e 's/^\(\(To\|'"$*"'\):[ '$'\t'']*\)\([^"]*\(,[^"]*\)\+[^" 
'$'\t'']\)\([ '$'\t'']*<.*>\)/\1"\3"\5/I' \
                       -e 's/^To:\(address@hidden)/Recipient-To:\1/Ip' \
                       -e 's/^\('"$*"'\):\(address@hidden)/Recipient-Cc:\2/Ip' \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]