]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
patman: Provide option to ignore bad aliases
authorSimon Glass <sjg@chromium.org>
Tue, 26 Mar 2013 13:09:42 +0000 (13:09 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 8 Apr 2013 22:09:03 +0000 (15:09 -0700)
commita1318f7cdc2fcff3b30d39750dd07dbed8f03f21
tree675907d3a287ebbb8e604bb4ecfd4b4a4b9bf5cd
parentf140b5863b258120f5412ea86733f70c87837ee9
patman: Provide option to ignore bad aliases

Often it happens that patches include tags which don't have aliases. It
is annoying that patman fails in this case, and provides no option to
continue other than adding empty tags to the .patman file.

Correct this by adding a '-t' option to ignore tags that don't exist.
Print a warning instead.

Since running the tests is not a common operation, move this to --test
instead, to reserve -t for this new option.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
tools/patman/gitutil.py
tools/patman/patman.py
tools/patman/series.py