3 # An example hook script for the post-receive event
5 # This script is run after receive-pack has accepted a pack and the
6 # repository has been updated. It is passed arguments in through stdin
8 # <oldrev> <newrev> <refname>
10 # aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
12 # see contrib/hooks/ for an sample, or uncomment the next line (on debian)
15 .
/home
/git
/scripts
/git-hook-support.sh
17 while read oldrev newrev ref
; do
18 trac_post_receive_record_log
"$oldrev" "$newrev" "$ref" gtest
20 send_mail_post_receive
"$oldrev" "$newrev" "$ref" gtest \
21 mail1@here.com mail2@there.net
26 # . /usr/share/doc/git-core/contrib/hooks/post-receive-email