summaryrefslogtreecommitdiff
path: root/lib/git/objects/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-12-03 16:31:07 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-12-03 16:31:07 +0100
commitc05ef0e7543c2845fd431420509476537fefe2b0 (patch)
tree75393ae080690acd035108d698d3c5a467076ebb /lib/git/objects/base.py
parent1eae9d1532e037a4eb08aaee79ff3233d2737f31 (diff)
downloadgitpython-c05ef0e7543c2845fd431420509476537fefe2b0.tar.gz
repo: renamed directories to more descriptive identifiers and made them safer to use in case of bare repositories
Diffstat (limited to 'lib/git/objects/base.py')
-rw-r--r--lib/git/objects/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/base.py b/lib/git/objects/base.py
index ddd03400..8d6860de 100644
--- a/lib/git/objects/base.py
+++ b/lib/git/objects/base.py
@@ -223,5 +223,5 @@ class IndexObject(Object):
The returned path will be native to the system and contains '\' on windows.
"""
- return join_path_native(self.repo.git.git_dir, self.path)
+ return join_path_native(self.repo.working_tree_dir, self.path)