summaryrefslogtreecommitdiff
path: root/gitd
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-07-11 22:04:16 +0000
committerNick <nick@somerandomnick.ano>2010-07-11 22:04:16 +0000
commit9e868b7e8f4540f55784e70f14944250f7718857 (patch)
treeb3bfd500a6d9607dd85f1cace6fe77af189c18b8 /gitd
parentb203c6dcda98ddf2394e3729dd39fb3037f1a076 (diff)
downloadresdb-9e868b7e8f4540f55784e70f14944250f7718857.tar.gz
resdb-9e868b7e8f4540f55784e70f14944250f7718857.zip
Now, gitd automatically marks resdb as exportable, saving manual labor.
Diffstat (limited to 'gitd')
-rwxr-xr-xgitd1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitd b/gitd
index 533a26d..3d21dc2 100755
--- a/gitd
+++ b/gitd
@@ -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)"