[PATCH 1/7] patman: Refactor how the default subcommand works

Simon Glass sjg at chromium.org
Sun Nov 15 15:07:45 CET 2020


At present patman tries to assume a default subcommand of 'send', to
maintain backwards compatibility. However it does not cope with
arguments added to the default command, so for example 'patman -t'
does not work.

Update the logic to handle this. Also update the CC command to use 'send'
explicitly, since otherwise patman gets confused with the patch-filename
argument.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/patman/func_test.py |  2 +-
 tools/patman/gitutil.py   | 10 +++----
 tools/patman/main.py      | 59 +++++++++++++++++++++------------------
 3 files changed, 38 insertions(+), 33 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list