aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/post-receive3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/post-receive b/misc/post-receive
index 04853c1..09ccf95 100755
--- a/misc/post-receive
+++ b/misc/post-receive
@@ -5,5 +5,6 @@
# irc notification
# change the path of the python script
-a=`git log --format=format:"%an | %s" $1..$2`
+read oldrev newrev refname
+a=`git log --format=format:"%an | %s" $oldrev..$newrev`
python git-post-commit.py "irc.freenode.net" "AliasCommit" "#alias" "$a"