diff mbox

patchwork-update-commits: add missing `update` to command line

Message ID 1300900410.4101.27.camel@mattotaupa
State Accepted
Commit ac5cddbc75745bcfddc6e3ed97d75edc49540e27
Headers show

Commit Message

Paul Menzel March 23, 2011, 5:13 p.m. UTC
Date: Wed, 23 Mar 2011 18:10:31 +0100

Otherwise the following error is shown.

	Too many arguments specified

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 tools/patchwork-update-commits |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Jeremy Kerr March 30, 2011, 7:05 a.m. UTC | #1
Hi Paul,

> Otherwise the following error is shown.
> 
> 	Too many arguments specified
> 
> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>

Thanks, applied.


Jeremy
diff mbox

Patch

diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index 2730216..b2a658a 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -13,5 +13,5 @@  git rev-list --reverse "$@" |
 while read commit
 do
 	hash=$(git show "$commit" | python $pwpath/parser.py -#)
-	$pwpath/bin/pwclient -s Accepted -c "$commit" -h "$hash"
+	$pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"
 done