aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/control.py
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2020-07-13 10:50:00 +0800
committerSimon Glass <sjg@chromium.org>2020-07-20 11:37:47 -0600
commit754c05caf306c7b587698193477bed12014e4164 (patch)
tree22a388361c475ece73d5475d7189c21fdeb6cb32 /tools/patman/control.py
parentb589b809712b78ce74cad1594e1e04116b77157a (diff)
downloadu-boot-754c05caf306c7b587698193477bed12014e4164.zip
u-boot-754c05caf306c7b587698193477bed12014e4164.tar.gz
u-boot-754c05caf306c7b587698193477bed12014e4164.tar.bz2
patman: Make sure sendemail.suppresscc is (un)set correctly
Setting sendemail.suppresscc to all or cccmd leads to --cc-cmd parameter being ignored, and emails going either nowhere, or just to the To: line maintainer. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/control.py')
-rw-r--r--tools/patman/control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/control.py b/tools/patman/control.py
index e67867b..8f4afea 100644
--- a/tools/patman/control.py
+++ b/tools/patman/control.py
@@ -166,6 +166,8 @@ def send(args):
ok = check_patches(series, patch_files, args.check_patch,
args.verbose)
+ ok = ok and gitutil.CheckSuppressCCConfig()
+
its_a_go = ok or args.ignore_errors
if its_a_go:
email_patches(