aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-22 00:37:44 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-22 00:37:44 -0800
commit1ec581edaa0e414cec4374065727fc6480809b4b (patch)
tree3c53aab7e741b424ae03ecc2fa3f29bc6202774b
parent9e1be7c15c75fae91a5e9c1dcf16bdf1050c6435 (diff)
downloadbnewnet-1ec581edaa0e414cec4374065727fc6480809b4b.tar.gz
bnewnet-1ec581edaa0e414cec4374065727fc6480809b4b.zip
hmmm, have to play with GITWIKI_NAME settings for bare repos...
-rw-r--r--bn_django/git_wiki/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bn_django/git_wiki/settings.py b/bn_django/git_wiki/settings.py
index 2aa9bb1..ed07f53 100644
--- a/bn_django/git_wiki/settings.py
+++ b/bn_django/git_wiki/settings.py
@@ -3,8 +3,11 @@
# the repositories)
GITWIKI_BASE = '/home/bnewbold/knowledge/'
+# leave this blank (NO WHITE SPACE) unless you're using a bare repo
+GITWIKI_NAME = ''
+
# fill path to the git command
GITCOMMAND = '/usr/local/bin/git'
GITPREFIX = 'cd ' +str(GITWIKI_BASE) + '; ' + str(GITCOMMAND) + ' --git-dir=' \
- + str(GITWIKI_BASE) + '/.git'
+ + str(GITWIKI_BASE) + '/' + GITWIKI_NAME + '.git'