From 1ec581edaa0e414cec4374065727fc6480809b4b Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 22 Feb 2007 00:37:44 -0800 Subject: hmmm, have to play with GITWIKI_NAME settings for bare repos... --- bn_django/git_wiki/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bn_django/git_wiki') 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' -- cgit v1.2.3