Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 232 Bytes
#!/bin/bash
nl=$'\n'
input=""
while read newref oldref refname ; do
input="$input$newref $oldref $refname$nl"
done
echo -n "$input" | /srv/git/gc/server/post-receive-one
echo -n "$input" | /srv/git/gc/server/post-receive-two