summaryrefslogtreecommitdiff
path: root/contrib/patchwork
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-23 08:35:57 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-23 08:35:57 +0200
commit8f6996cef591593fc5347d7643f651cf50d20e89 (patch)
treeafef04389edc5f5f76545767e4ac0ae5f513d974 /contrib/patchwork
parent971539b2bb254a571d6842bd677bf8e53c70be2f (diff)
patchword apply helper: use git-am -s and remove file when done
Diffstat (limited to 'contrib/patchwork')
-rwxr-xr-xcontrib/patchwork/pw-am.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/patchwork/pw-am.sh b/contrib/patchwork/pw-am.sh
index 2ce6dc4066..1c64aa5d64 100755
--- a/contrib/patchwork/pw-am.sh
+++ b/contrib/patchwork/pw-am.sh
@@ -10,5 +10,6 @@
for patchnumber in $@;
do
wget -nv http://patchwork.openembedded.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
- git am pw-am-$patchnumber.patch
+ git am -s pw-am-$patchnumber.patch
+ rm pw-am-$patchnumber.patch
done