aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2008-04-15 15:52:17 +0300
committerTommi Virtanen <tv@eagain.net>2008-04-15 15:52:17 +0300
commita938dccf82aab1e8655c50a5d2974d7ea46a61a0 (patch)
treecd447f05fd9e0e0a5cc1c31ac100643be6d926a9
parentAllow absolute paths in repo paths, treat them as relative. (diff)
downloadgitosis-gentoo-a938dccf82aab1e8655c50a5d2974d7ea46a61a0.tar.gz
gitosis-gentoo-a938dccf82aab1e8655c50a5d2974d7ea46a61a0.tar.bz2
gitosis-gentoo-a938dccf82aab1e8655c50a5d2974d7ea46a61a0.zip
Show how group sections in config can be used in example.conf.
-rw-r--r--example.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/example.conf b/example.conf
index 09ee5f4..87bd822 100644
--- a/example.conf
+++ b/example.conf
@@ -23,6 +23,11 @@ members = jdoe wsmith @anothergroup
writable = foo bar baz/thud
readonly = xyzzy
+## You can use groups just to avoid listing users multiple times. Note
+## no writable= or readonly= lines.
+[group anothergroup]
+members = alice bill
+
## You can play fancy tricks by making some repositories appear with
## different names in different contexts. Not really supported
## everywhere (e.g. gitweb) and can be confusing -- experts only.