From 082c119af98153fd558f57c7a66d660b7ca6c6c9 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Fri, 22 Oct 2021 19:07:04 -0400 Subject: patman: Add "postfix" support to patch subjects In some communities, it may be necessary to append something after PATCH in the subject line. For example, the Linux networking subsystem expects [1] patch subject prefixes like [RFC PATCH net-next 0/99]. This adds support for such "postfix"s to patman. Although entirely cosmetic, it is still nice to have. [1] https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html#how-do-i-indicate-which-tree-net-vs-net-next-my-patch-should-be-in Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- tools/patman/patchstream.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/patman/patchstream.py') diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 2439fb18e42..1da9d53b650 100644 --- a/tools/patman/patchstream.py +++ b/tools/patman/patchstream.py @@ -596,6 +596,8 @@ class PatchStream: # These seem like they would be nice to include. if 'prefix' in self.series: parts.append(self.series['prefix']) + if 'postfix' in self.series: + parts.append(self.serties['postfix']) if 'version' in self.series: parts.append("v%s" % self.series['version']) -- cgit v1.2.3