[PATCH] notify-stable-review: modify email subject line to include kernel version
Luis Henriques
luis.henriques at canonical.com
Mon Oct 21 17:42:47 UTC 2013
It has been recently request in lkml[1] to modify stable kernel review
emails to clearly tag them as stable patches (it looks like gmail for
example does not allow to filter email from email headers such as
'X-Extended-Stable').
Thus, this patch modifies the email subject lines to include the kernel
version number, as suggested by Ben Hutchings.
[1] https://lkml.org/lkml/2013/10/10/514
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
stable/notify-stable-review | 2 ++
1 file changed, 2 insertions(+)
diff --git a/stable/notify-stable-review b/stable/notify-stable-review
index 2557392..ce6120c 100755
--- a/stable/notify-stable-review
+++ b/stable/notify-stable-review
@@ -308,6 +308,8 @@ see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable .
if not subject:
if 'Subject:' in line:
+ line = line.replace("Subject: [PATCH ",
+ "Subject: [PATCH %s " % (basever))
subject = True
if subject and not header_add:
--
1.8.3.2
More information about the kernel-team
mailing list