]> git.ozlabs.org Git - patchwork/commit
pwclient: exit on first patch which fails to apply
authorBrian Norris <computersforpeace@gmail.com>
Sun, 23 Nov 2014 04:38:46 +0000 (20:38 -0800)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 22 Mar 2015 13:08:30 +0000 (21:08 +0800)
commit52ef32ce109ac96b6dc63a66997e39c83ad23d59
treeeae8cb2d3e10e4f6a9e68dfa00398af0c0ea7af4
parent7e072a3308fb43fba06e94e9b30d8c9f1638a77b
pwclient: exit on first patch which fails to apply

When run with more than one patch ID, the 'apply' and 'git-am' commands
should not continue to process other patches if an earlier one failed.
We should stop so the user can address the situation.

Future work: it'd be nice to just pipe all the patches at once to
git-am, so that git's nice handling of fixup-and-continue workflow can
be used.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/pwclient