aboutsummaryrefslogtreecommitdiff
path: root/gitosis/gitweb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitosis/gitweb.py')
-rw-r--r--gitosis/gitweb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitosis/gitweb.py b/gitosis/gitweb.py
index 271e1bd..25076b1 100644
--- a/gitosis/gitweb.py
+++ b/gitosis/gitweb.py
@@ -5,18 +5,18 @@ To plug this into ``gitweb``, you have two choices.
- The global way, edit ``/etc/gitweb.conf`` to say::
- $projects_list = "/path/to/your/projects.list";
+ $projects_list = "/path/to/your/projects.list";
Note that there can be only one such use of gitweb.
- The local way, create a new config file::
- do "/etc/gitweb.conf" if -e "/etc/gitweb.conf";
- $projects_list = "/path/to/your/projects.list";
+ do "/etc/gitweb.conf" if -e "/etc/gitweb.conf";
+ $projects_list = "/path/to/your/projects.list";
# see ``repositories`` in the ``gitosis`` section
# of ``~/.gitosis.conf``; usually ``~/repositories``
# but you need to expand the tilde here
- $projectroot = "/path/to/your/repositories";
+ $projectroot = "/path/to/your/repositories";
Then in your web server, set environment variable ``GITWEB_CONFIG``
to point to this file.