]> git.ozlabs.org Git - patchwork/commitdiff
patchwork-update-commits: add missing `update` to command line
authorPaul Menzel <paulepanter@users.sourceforge.net>
Wed, 23 Mar 2011 17:10:31 +0000 (18:10 +0100)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Mar 2011 06:57:17 +0000 (14:57 +0800)
Otherwise the following error is shown:

    Too many arguments specified

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
tools/patchwork-update-commits

index 27302167c41dbd770df5002905f49e70683f62dd..b2a658afdb3947c03eb7b32373621d28aac13af8 100755 (executable)
@@ -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