diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-03 16:31:07 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-03 16:31:07 +0100 |
commit | c05ef0e7543c2845fd431420509476537fefe2b0 (patch) | |
tree | 75393ae080690acd035108d698d3c5a467076ebb /lib/git/objects/base.py | |
parent | 1eae9d1532e037a4eb08aaee79ff3233d2737f31 (diff) | |
download | gitpython-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.py | 2 |
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) |