]> git.ozlabs.org Git - patchwork/commit
tools: Add a simple sample Git post-receive hook
authorMartin Krafft <madduck@madduck.net>
Thu, 4 Feb 2010 17:33:14 +0000 (17:33 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 10 Aug 2010 03:49:35 +0000 (11:49 +0800)
commit5d1b8ca30bb4ff9284ad2013c92177e31dd07562
treecbb02eea206c540c03690b7f80d63fe72d417fa8
parentbe40f2b35c98cd5cec0fd7df25017201b6852ffd
tools: Add a simple sample Git post-receive hook

This patch adds a post-receive hook to lib/git, which can be used to
update Patchwork following a push to the Git repository.

Surely, it can be improved. One thing to do would be to export the state
map to git-config somehow.

Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
tools/post-receive.hook [new file with mode: 0755]