[U-Boot] [PATCH] patman: Don't request full names from get_maintainer

Doug Anderson dianders at chromium.org
Thu Apr 17 20:47:32 CEST 2014


The Linux get_maintainer.pl can often produce a whole lot of results.
As a result you'll sometimes blow your CC field over 1024 characters
and that can cause listservs to reject your message.

As a stopgap, call get_maintainer.pl with "--non" so it doesn't
include real names.  This will dramatically reduce the number of
characters.

Signed-off-by: Doug Anderson <dianders at chromium.org>
---

 tools/patman/get_maintainer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/patman/get_maintainer.py b/tools/patman/get_maintainer.py
index 00b4939..a5160bc 100644
--- a/tools/patman/get_maintainer.py
+++ b/tools/patman/get_maintainer.py
@@ -43,5 +43,5 @@ def GetMaintainer(fname, verbose=False):
             print "WARNING: Couldn't find get_maintainer.pl"
         return []
 
-    stdout = command.Output(get_maintainer, '--norolestats', fname)
+    stdout = command.Output(get_maintainer, '--norolestats', '--non', fname)
     return stdout.splitlines()
-- 
1.9.1.423.g4596e3a



More information about the U-Boot mailing list