patman: Quieten down the alias checking
authorSimon Glass <sjg@chromium.org>
Sat, 23 Jan 2021 15:56:15 +0000 (08:56 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:26 +0000 (19:23 +1300)
commit0fb560d9a71e9bd3c36944dda9b6122df63f49a3
treec41f8c64e154129da347962644a01b7a649c11e5
parentc7e42cabed3d761f4aa6007135fd126db82a2ae1
patman: Quieten down the alias checking

When a tag is used in a patch subject (e.g. "tag: rest of message") and
it cannot be found as an alias, patman currently reports a fatal error,
unless -t is provided, in which case it reports a warning.

Experience suggest that the fatal error is not very useful. Instead,
default to reporting a warning, with -t tell patman to ignore it
altogether.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
tools/patman/gitutil.py
tools/patman/main.py
tools/patman/series.py