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>
Mon, 20 Jul 2020 17:37:46 +0000 (11:37 -0600)
commitd9dc99e327378a4abbf1bef059eef4e4402746c3
treee989fd7e01f4c6da9240f0db532a5cf1ad8fab89
parente9799e0890339dcf9f816f7b904147f791fca011
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