From 0e314103b828bfa52d04d7c063353eba76ae7e9f Mon Sep 17 00:00:00 2001 From: Zaran Date: Tue, 20 Sep 2011 15:47:03 +0200 Subject: Add post-receive script Depends on irclib (included). The misc directory should be used for files related to project maintenance or for configurations files (e.g. ejabberd.conf) --- misc/post-receive | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 misc/post-receive (limited to 'misc/post-receive') diff --git a/misc/post-receive b/misc/post-receive new file mode 100755 index 0000000..04853c1 --- /dev/null +++ b/misc/post-receive @@ -0,0 +1,9 @@ +#!/bin/sh +# post-receive hook for notifications +# arguments received +# + +# irc notification +# change the path of the python script +a=`git log --format=format:"%an | %s" $1..$2` +python git-post-commit.py "irc.freenode.net" "AliasCommit" "#alias" "$a" -- cgit v1.2.3-70-g09d2