summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-16 08:22:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-16 08:22:38 (GMT)
commit57bd934ea69f0151b729b74fd77629b94920cca7 (patch)
treeec66a0e3b79f26f88ddee1c16859af3c25d1ebca /Documentation
parentad2a2f6f0b40ba7c3dea8ec8ddcbc3f65f083998 (diff)
parent226bccb9ad42441269507a2101b47424d7c9c477 (diff)
downloadgit-57bd934ea69f0151b729b74fd77629b94920cca7.zip
git-57bd934ea69f0151b729b74fd77629b94920cca7.tar.gz
git-57bd934ea69f0151b729b74fd77629b94920cca7.tar.bz2
Merge branch 'fl/cvsserver'
* fl/cvsserver: cvsserver: Actually implement --export-all cvsserver: Let --base-path and pserver get along just fine cvsserver: Add some useful commandline options
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-cvsserver.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt
index e5005f0..60d0bcf 100644
--- a/Documentation/git-cvsserver.txt
+++ b/Documentation/git-cvsserver.txt
@@ -7,10 +7,53 @@ git-cvsserver - A CVS server emulator for git
SYNOPSIS
--------
+
+SSH:
+
[verse]
export CVS_SERVER=git-cvsserver
'cvs' -d :ext:user@server/path/repo.git co <HEAD_name>
+pserver (/etc/inetd.conf):
+
+[verse]
+cvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver
+
+Usage:
+
+[verse]
+'git-cvsserver' [options] [pserver|server] [<directory> ...]
+
+OPTIONS
+-------
+
+All these options obviously only make sense if enforced by the server side.
+They have been implemented to resemble the gitlink:git-daemon[1] options as
+closely as possible.
+
+--base-path <path>::
+Prepend 'path' to requested CVSROOT
+
+--strict-paths::
+Don't allow recursing into subdirectories
+
+--export-all::
+Don't check for `gitcvs.enabled` in config. You also have to specify a list
+of allowed directories (see below) if you want to use this option.
+
+--version, -V::
+Print version information and exit
+
+--help, -h, -H::
+Print usage information and exit
+
+<directory>::
+You can specify a list of allowed directories. If no directories
+are given, all are allowed. This is an additional restriction, gitcvs
+access still needs to be enabled by the `gitcvs.enabled` config option
+unless '--export-all' was given, too.
+
+
DESCRIPTION
-----------