diff --git a/git-cvsserver.perl b/git-cvsserver.perl index 11f5127ce9..ecded3b9cb 100755 --- a/git-cvsserver.perl +++ b/git-cvsserver.perl @@ -1357,6 +1357,12 @@ sub req_ci close $pipe || die "bad pipe: $! $?"; } + ### Then hooks/post-update + $hook = $ENV{GIT_DIR}.'hooks/post-update'; + if (-x $hook) { + system($hook, "refs/heads/$state->{module}"); + } + $updater->update(); # foreach file specified on the command line ...