Install the stable hook sooner to see it work for the initial stable commit.
[git-central.git] / cbas / post-receive
1 #!/bin/sh
2 #
3 # Delegates to post-receive-email and post-receive-trac
4 #
5
6 nl=$'\n'
7 input=""
8 while read newref oldref refname ; do
9     input="$input$newref $oldref $refname$nl"
10 done
11
12 echo -n "$input" | sh /srv/git/hooks/server/post-receive-email
13 echo -n "$input" | sh /srv/git/hooks/server/post-receive-trac
14