add /git-slave to the scope of the git daemon
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 25 Apr 2013 08:24:12 +0000 (10:24 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 25 Apr 2013 08:24:12 +0000 (10:24 +0200)
scripts/git-daemon.sysconfig

index fd173bf..0bd6e95 100644 (file)
@@ -2,7 +2,7 @@
 GITDIR=/git
 #GITWHITELIST=$(ls -d /git/{build,infrastructure,omf,playground,tests}.git)
 # whitelist everything for now
-GITWHITELIST=$(ls -d /git/*.git)
+GITWHITELIST=$(ls -d /git/*.git /git-slave/*.git 2> /dev/null)
 PORT=9418
 VERBOSE=
 DETACH=--detach