summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-10 16:52:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-10 16:52:37 (GMT)
commitdf248216fd0602e06d3b441e46efa6c74b94d081 (patch)
tree64f37333759f1a90922fea7dc8e37e413d04f19a /Documentation
parent0196f4b5a325251f62192f164cd1061a3fd98be8 (diff)
parent03bd0d601ea842b2db5bd40a1f7f036989f9b517 (diff)
downloadgit-df248216fd0602e06d3b441e46efa6c74b94d081.zip
git-df248216fd0602e06d3b441e46efa6c74b94d081.tar.gz
git-df248216fd0602e06d3b441e46efa6c74b94d081.tar.bz2
Merge branch 'pm/cvs-environ'
* pm/cvs-environ: CVS Server: Support reading base and roots from environment
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-cvsserver.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt
index 99a7c14..fbab295 100644
--- a/Documentation/git-cvsserver.txt
+++ b/Documentation/git-cvsserver.txt
@@ -277,6 +277,21 @@ In `dbdriver` and `dbuser` you can use the following variables:
If no name can be determined, the
numeric uid is used.
+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_ROOT specifies a single-directory whitelist. The
+repository must still be configured to allow access through
+git-cvsserver, as described above.
+
+When these environment variables are set, the corresponding
+command-line arguments may not be used.
+
Eclipse CVS Client Notes
------------------------