From 05bef7f5077dfc5fd49d806ab39654f7c596a97a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 26 Aug 2014 19:47:51 +0000 Subject: Add another hook --- roles/git/hooks/files/post-receive-chained | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 roles/git/hooks/files/post-receive-chained diff --git a/roles/git/hooks/files/post-receive-chained b/roles/git/hooks/files/post-receive-chained new file mode 100755 index 000000000..b5c6e2311 --- /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 -- cgit