aboutsummaryrefslogtreecommitdiffstats
path: root/misc/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'misc/post-receive')
-rwxr-xr-xmisc/post-receive11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/post-receive b/misc/post-receive
index 09ccf95..b44916a 100755
--- a/misc/post-receive
+++ b/misc/post-receive
@@ -5,6 +5,11 @@
# 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"
+{
+ while read oldrev newrev refname
+ do
+ a=`git log --format=format:"%an | %s" $oldrev..$newrev`
+ printf "$a\n"
+ done
+} | python git-post-commit.py "irc.freenode.net" "AliasCommit" "#alias"
+