]> git.ozlabs.org Git - patchwork/commit
tools/post-receive.hook: don't update the previously pushed commit
authorCarl Worth <cworth@cworth.org>
Wed, 11 Dec 2013 18:46:26 +0000 (10:46 -0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 29 Jan 2014 09:54:25 +0000 (17:54 +0800)
commit2b8be9316ca488c8ce913d47dd6f0ad04e7544e8
treec1d7651fa553b9fe3134e29e31af865fb91d48f9
parent5ccc2d9900f691ac6e3000836d052f60e0d1e726
tools/post-receive.hook: don't update the previously pushed commit

Previously, the post-receive hook would always examine one commit that
had been previously pushed, (when the purpose of the hook is only to
example newly-pushed commits). We fix this by simply dropping the '^'
in the commit-range specification.

Signed-off-by: Carl Worth <cworth@cworth.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
tools/post-receive.hook