X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-cvsserver.perl;h=ab6cea3e538047c30a5d728c7a16ee3c935c070b;hb=900a5d075e8b48025439966dc3863189874bae3b;hp=fef7faf33947a87ded0e8a2d9fd6f1af6047d951;hpb=d64d4835b83669d5c9c8ce1989859efa803874db;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 ) {