summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-19 18:53:55 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-19 18:53:55 +0200
commit048acc4596dc1c6d7ed3220807b827056cb01032 (patch)
tree448259c37aa52e7bada2ec6c642160ee99c21670 /lib/git/repo.py
parenta07cdbae1d485fd715a5b6eca767f211770fea4d (diff)
downloadgitpython-048acc4596dc1c6d7ed3220807b827056cb01032.tar.gz
Added configuration access including tests to remote
config: fixed issue that would cause it to abort reading if the file did not exist - this is valid now Test does not work as the configuration parsing does not work as expected - this must be fixed first
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index ddbedd0c..d5cc9782 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -149,7 +149,7 @@ class Repo(object):
elif config_level == "global":
return os.path.expanduser("~/.gitconfig")
elif config_level == "repository":
- return "%s/config" % self.git.git_dir
+ return "%s/config" % self.path
raise ValueError( "Invalid configuration level: %r" % config_level )