diff options
Diffstat (limited to 'misc/post-receive')
| -rwxr-xr-x | misc/post-receive | 9 |
1 files changed, 9 insertions, 0 deletions
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 +# <oldrev> <newrev> <refname> + +# 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" |
