]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tools: Update to use 'hasher'
authorStephen Finucane <stephen@that.guru>
Wed, 30 Nov 2016 18:29:37 +0000 (18:29 +0000)
committerStephen Finucane <stephen@that.guru>
Thu, 1 Dec 2016 18:52:56 +0000 (18:52 +0000)
commiteda57a915378de582ed3e8c3a0ac5c4d800bba74
tree509fb3cfb5541c2619ab0e2d628479a438d19ffd
parent677de0ec7ee78222a51c9458e7a5b26956d59cb3
tools: Update to use 'hasher'

The old 'parser' module used to extract diffs from their surrounding
mbox fluff before hashing this. Seeing as this was only used in the
context of an actual git repo, avoid all of that rigmarole by just using
'git diff', which produces a plain diff, rather than 'git show'.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Tested-by: Tom Rini <trini@konsulko.com>
Closes-bug: #63
tools/patchwork-update-commits
tools/post-receive.hook