diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2020-07-13 10:50:00 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-25 14:46:57 -0600 |
commit | 949775689e58cf7ebf96b9da7f259820e8ad4f32 (patch) | |
tree | a166c0ee96431cca09cd98c8357b5e451d156a30 /tools/patman/control.py | |
parent | 50c7b723bd47cc8516ea84690f3f07b65a9ee8d6 (diff) |
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.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/control.py b/tools/patman/control.py index e67867b845..8f4afeab18 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( |