From 05431233a2757d002f40052641dee11954a9f6cc Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Tue, 16 Mar 2010 19:26:26 +0530 Subject: [PATCH] post-update hook now chains to post-update.secondary undocumented but analogous to the documented update hook chaining --- hooks/gitolite-admin/post-update | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hooks/gitolite-admin/post-update b/hooks/gitolite-admin/post-update index b84dfa8..752c212 100755 --- a/hooks/gitolite-admin/post-update +++ b/hooks/gitolite-admin/post-update @@ -6,3 +6,8 @@ GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master cd $GL_ADMINDIR $GL_BINDIR/gl-compile-conf + +if [[ -f hooks/post-update.secondary ]] || [[ -L hooks/post-update.secondary ]] +then + exec hooks/post-update.secondary "$@" +fi