patman: Allow skipping patches at the end
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2020 03:41:52 +0000 (21:41 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commit137947e05b25a9e511bbc30bd795c9d95deec0cb
treed2c8a214ffae872476d88757096f23ace3bd0144
parent262130f57c398d7a548cf55fdc278efe561c7afb
patman: Allow skipping patches at the end

The -s option allows skipping patches at the top of the branch. Sometimes
there are commits at the bottom that need to be skipped. At present it is
necessary to count the number of commits and then use -c to tell patman
how many to process.

Add a -e option to easily skip a number of commits at the bottom of the
branch.

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