X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-cvsserver.perl;h=ab6cea3e538047c30a5d728c7a16ee3c935c070b;hb=78360b576acb0ee47c90552cb3f976a3c6ba4d6a;hp=fef7faf33947a87ded0e8a2d9fd6f1af6047d951;hpb=8f5707f9a9ac9e1f5afe6f415731fb46ea2da8ff;p=git.git diff --git a/git-cvsserver.perl b/git-cvsserver.perl index fef7faf33..ab6cea3e5 100755 --- a/git-cvsserver.perl +++ b/git-cvsserver.perl @@ -76,6 +76,7 @@ my $methods = { 'history' => \&req_CATCHALL, 'watchers' => \&req_EMPTY, 'editors' => \&req_EMPTY, + 'noop' => \&req_EMPTY, 'annotate' => \&req_annotate, 'Global_option' => \&req_Globaloption, #'annotate' => \&req_CATCHALL, @@ -1413,14 +1414,14 @@ sub req_ci close $pipe || die "bad pipe: $! $?"; } + $updater->update(); + ### 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 ... foreach my $filename ( @committedfiles ) {