summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1768905)
raw | patch | inline | side by side (parent: 1768905)
author | Damien Diederen <dash@foobox.net> | |
Thu, 27 Mar 2008 22:17:26 +0000 (23:17 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Mar 2008 23:05:27 +0000 (16:05 -0700) |
These commands list users editing and watching locked files. This trivial
implementation always returns an empty response, since git-cvsserver does not
implement file locking.
Without this, TkCVS hangs at startup, waiting forever for a response.
Signed-off-by: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
implementation always returns an empty response, since git-cvsserver does not
implement file locking.
Without this, TkCVS hangs at startup, waiting forever for a response.
Signed-off-by: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl | patch | blob | history |
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 7f632af20defd7a3cfd92008c51f7e599be13830..2fe0a8a3cba6e559239ddf0b2c2d3a41148c0cad 100755 (executable)
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
'status' => \&req_status,
'admin' => \&req_CATCHALL,
'history' => \&req_CATCHALL,
- 'watchers' => \&req_CATCHALL,
- 'editors' => \&req_CATCHALL,
+ 'watchers' => \&req_EMPTY,
+ 'editors' => \&req_EMPTY,
'annotate' => \&req_annotate,
'Global_option' => \&req_Globaloption,
#'annotate' => \&req_CATCHALL,
$log->warn("Unhandled command : req_$cmd : $data");
}
+# This method invariably succeeds with an empty response.
+sub req_EMPTY
+{
+ print "ok\n";
+}
# Root pathname \n
# Response expected: no. Tell the server which CVSROOT to use. Note that