diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-10 08:52:37 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-10 08:52:37 -0800 |
commit | df248216fd0602e06d3b441e46efa6c74b94d081 (patch) | |
tree | 64f37333759f1a90922fea7dc8e37e413d04f19a /Documentation | |
parent | 0196f4b5a325251f62192f164cd1061a3fd98be8 (diff) | |
parent | 03bd0d601ea842b2db5bd40a1f7f036989f9b517 (diff) | |
download | git-df248216fd0602e06d3b441e46efa6c74b94d081.tar.gz git-df248216fd0602e06d3b441e46efa6c74b94d081.tar.xz |
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.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt index 99a7c1470..fbab29550 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 ------------------------ |