aboutsummaryrefslogtreecommitdiff
path: root/tools/patchwork-update-commits
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patchwork-update-commits')
-rwxr-xr-xtools/patchwork-update-commits2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index d0f63a9..61952c0 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -29,6 +29,6 @@ fi
git rev-list --reverse "$@" |
while read commit; do
- hash=$(git show "$commit" | python $pwpath/parser.py -#)
+ hash=$(git diff "$commit~..$commit" | python $pwpath/hasher.py)
$pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"
done