patman: Make sure sendemail.suppresscc is (un)set correctly
authorNicolas Boichat <drinkcat@chromium.org>
Mon, 13 Jul 2020 02:50:00 +0000 (10:50 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 20:46:57 +0000 (14:46 -0600)
commit949775689e58cf7ebf96b9da7f259820e8ad4f32
treea166c0ee96431cca09cd98c8357b5e451d156a30
parent50c7b723bd47cc8516ea84690f3f07b65a9ee8d6
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>
tools/patman/control.py
tools/patman/gitutil.py