#!/bin/sh # post-receive hook for notifications # arguments received # # irc notification # change the path of the python script read oldrev newrev refname a=`git log --format=format:"%an | %s" $oldrev..$newrev` python git-post-commit.py "irc.freenode.net" "AliasCommit" "#alias" "$a"