#!/bin/sh # # Delegates to post-receive-email and post-receive-trac # nl=$'\n' input="" while read newref oldref refname ; do input="$input$newref $oldref $refname$nl" done echo -n "$input" | sh /srv/git/hooks/server/post-receive-email echo -n "$input" | sh /srv/git/hooks/server/post-receive-trac