summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index c03adeba..1ceb7449 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -44,7 +44,8 @@ class Repo(object):
while curpath:
if is_git_dir(curpath):
self.bare = True
- self.path, self.wd = curpath
+ self.path = curpath
+ self.wd = curpath
break
gitpath = os.path.join(curpath, '.git')
if is_git_dir(gitpath):