aboutsummaryrefslogtreecommitdiff
path: root/gitweb.conf
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-10-28 03:37:28 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2008-10-28 03:37:28 -0700
commitf275a5f74bd00efa5a9b4b80826d18c9d7442ff9 (patch)
treed4b1b029f2ad1632bd64162a2cdf61b73c658378 /gitweb.conf
parentFixup whitespace. (diff)
parentUse "git shell" instead of "git-shell", for compatibility with git 1.6. (diff)
downloadgitosis-dakkar-f275a5f74bd00efa5a9b4b80826d18c9d7442ff9.tar.gz
gitosis-dakkar-f275a5f74bd00efa5a9b4b80826d18c9d7442ff9.tar.bz2
gitosis-dakkar-f275a5f74bd00efa5a9b4b80826d18c9d7442ff9.zip
Merge branch 'upstream' into gentoo
Conflicts: gitosis/run_hook.py gitosis/serve.py gitosis/test/test_run_hook.py gitosis/test/test_serve.py
Diffstat (limited to 'gitweb.conf')
-rw-r--r--gitweb.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitweb.conf b/gitweb.conf
index 8fb62d1..32d81b1 100644
--- a/gitweb.conf
+++ b/gitweb.conf
@@ -15,6 +15,15 @@ $projectroot = "/srv/example.com/git/repositories";
# is already sharing anonymously.
$export_ok = "git-daemon-export-ok";
+# Alternatively, you could set these, to allow exactly the things in
+# projects.list, which in this case is the repos with gitweb=yes
+# in gitosis.conf. This means you don't need daemon=yes, but you
+# can't have repositories hidden but browsable if you know the name.
+# And note gitweb already allows downloading the full repository,
+# so you might as well serve git-daemon too.
+# $export_ok = "";
+# $strict_export = "true";
+
# A list of base urls where all the repositories can be cloned from.
# Easier than having per-repository cloneurl files.
@git_base_url_list = ('git://example.com');