post-receive 353 Bytes
Newer Older
Őry Máté committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash

exec >>/tmp/pclog 2>&1
date
id

read old new

old=$(git rev-parse "$old")
new=$(git rev-parse "$new")

for i in $(git rev-list $old..$new)
do
	sudo -u www-data /usr/local/bin/trac-admin /srv/trac/cloud/ changeset added cloud "$i"
	git log --decorate --date-order --format='%h %d - %an: %s' "$i~..$i" > /home/git/irc/irc.atw.hu/#ik/in
done