From c05ef0e7543c2845fd431420509476537fefe2b0 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 3 Dec 2009 16:31:07 +0100 Subject: repo: renamed directories to more descriptive identifiers and made them safer to use in case of bare repositories --- lib/git/objects/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/objects') 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) -- cgit v1.2.1