changeset 73:17b7c922f9fb draft

Now, gitd automatically marks resdb as exportable, saving manual labor.
author Nick <nick@somerandomnick.ano>
date Sun, 11 Jul 2010 22:04:16 +0000
parents c22cbdac3688
children aa2c9578679b
files gitd
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gitd	Sun Jul 11 23:16:33 2010 +0200
+++ b/gitd	Sun Jul 11 22:04:16 2010 +0000
@@ -1,3 +1,4 @@
 #!/bin/sh
 repodir="$(dirname $0)"
+touch "$repodir"/.git/git-daemon-export-ok
 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"