summaryrefslogtreecommitdiffstats
path: root/git-cvsserver.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-27 09:48:21 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-27 09:48:21 -0700
commita85030a62a0cfffe9f4c52b89e611a498eaba04b (patch)
tree2f760cef70650f12664cf0a41239e07b99e28986 /git-cvsserver.txt
parent6bba246d46431b32c3be3676fb727605cf6d2847 (diff)
downloadgit-htmldocs-a85030a62a0cfffe9f4c52b89e611a498eaba04b.tar.gz
Autogenerated HTML docs for v2.37.1-261-g15b17e
Diffstat (limited to 'git-cvsserver.txt')
-rw-r--r--git-cvsserver.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/git-cvsserver.txt b/git-cvsserver.txt
index 4dc57ed25..53f111bc0 100644
--- a/git-cvsserver.txt
+++ b/git-cvsserver.txt
@@ -63,11 +63,10 @@ Print version information and exit
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.
-
+The remaining arguments provide a list of directories. If no directories
+are given, then all are allowed. Repositories within these directories
+still require the `gitcvs.enabled` config option, unless `--export-all`
+is specified.
LIMITATIONS
-----------
@@ -311,11 +310,13 @@ ENVIRONMENT
These variables obviate the need for command-line options in some
circumstances, allowing easier restricted usage through git-shell.
-GIT_CVSSERVER_BASE_PATH takes the place of the argument to --base-path.
+GIT_CVSSERVER_BASE_PATH::
+ This variable replaces the argument to --base-path.
-GIT_CVSSERVER_ROOT specifies a single-directory whitelist. The
-repository must still be configured to allow access through
-git-cvsserver, as described above.
+GIT_CVSSERVER_ROOT::
+ This variable specifies a single directory, replacing the
+ `<directory>...` argument list. The repository still requires the
+ `gitcvs.enabled` config option, unless `--export-all` is specified.
When these environment variables are set, the corresponding
command-line arguments may not be used.