summaryrefslogtreecommitdiff
path: root/tools/patman/series.py
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2012-12-03 14:43:16 +0000
committerSimon Glass <sjg@chromium.org>2013-01-31 15:23:39 -0800
commit21a19d70e2c2aa45cfe62c6adf8ceee9fcfbcacb (patch)
tree974b523f0ea6ea032b643e4ab250c14cba1c5733 /tools/patman/series.py
parent311872551570a6439f62ab476c6fd4836a7a9aa7 (diff)
downloadu-boot-imx-21a19d70e2c2aa45cfe62c6adf8ceee9fcfbcacb.zip
u-boot-imx-21a19d70e2c2aa45cfe62c6adf8ceee9fcfbcacb.tar.gz
u-boot-imx-21a19d70e2c2aa45cfe62c6adf8ceee9fcfbcacb.tar.bz2
patman: Add a call to get_maintainer.pl if it exists
For Linux the best way to figure out where to send a patch is with the "get_maintainer.pl" script. Add support for calling it from patman. Support is added unconditionally for "scripts/get_maintainer.pl" in case it is helpful for any other projects. Signed-off-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'tools/patman/series.py')
-rw-r--r--tools/patman/series.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py
index 083af0f..6c5c570 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -22,6 +22,7 @@
import itertools
import os
+import get_maintainer
import gitutil
import terminal
@@ -225,6 +226,7 @@ class Series(dict):
if process_tags:
list += gitutil.BuildEmailList(commit.tags)
list += gitutil.BuildEmailList(commit.cc_list)
+ list += get_maintainer.GetMaintainer(commit.patch)
all_ccs += list
print >>fd, commit.patch, ', '.join(list)
self._generated_cc[commit.patch] = list