aboutsummaryrefslogtreecommitdiffstats
path: root/misc/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'misc/post-receive')
-rwxr-xr-xmisc/post-receive3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/post-receive b/misc/post-receive
index b44916a..1041c89 100755
--- a/misc/post-receive
+++ b/misc/post-receive
@@ -4,11 +4,12 @@
# <oldrev> <newrev> <refname>
# irc notification
-# change the path of the python script
+# change the path of the python scripts
{
while read oldrev newrev refname
do
a=`git log --format=format:"%an | %s" $oldrev..$newrev`
+ printf "$oldrev $newrev $refname\n" | python trac-update.py
printf "$a\n"
done
} | python git-post-commit.py "irc.freenode.net" "AliasCommit" "#alias"