]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
patman: make "No recipient" checking more tolerant
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 18 Jul 2014 05:23:20 +0000 (14:23 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 28 Jul 2014 03:57:24 +0000 (04:57 +0100)
commitee860c60d2c5283c009f7ea740c6ee706da87cb7
tree10012e2a055b57c8ca95324b40c01e64c1e3ea87
parent189a496825aefe7c8e9be80c0f2a4cf5923d4f55
patman: make "No recipient" checking more tolerant

If Series-to tag is missing, Patman exits with a message
"No recipient".

This is just annoying for those who had already added
sendemail.to configuration.

I guess many developers have

  [sendemail]
          to = u-boot@lists.denx.de

in their .git/config because the 'To: u-boot@lists.denx.de' field
should always be added when sending patches.

That seems more reasonable rather than adding
'Series-to: u-boot@lists.denx.de' to every patch series.

Patman should exit only when both Series-to tag and sendemail.to
configuration are mising.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py