diff --git a/roles/git/hooks/files/post-receive-chained b/roles/git/hooks/files/post-receive-chained new file mode 100755 index 0000000000..b5c6e23112 --- /dev/null +++ b/roles/git/hooks/files/post-receive-chained @@ -0,0 +1,8 @@ +#!/bin/bash +# Redirect stdin to each of the post-receive hooks in place. + +# You need to explicitly add your hook to the following list +# for it to be invoked. +pee \ + $GIT_DIR/hooks/post-receive-chained.d/post-receive-email \ + $GIT_DIR/hooks/post-receive-chained.d/post-receive-fedmsg