]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-cvsserver.perl
Merge git://git.kernel.org/pub/scm/gitk/gitk
[git.git] / git-cvsserver.perl
index 11f5127ce95a376200c12b7a620546e957dfac56..ecded3b9cba9e18117f7372af37e9b56203a6fcf 100755 (executable)
@@ -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 ...