Fix use of bare repositories. master
authorJelmer Vernooij <jelmer@samba.org>
Sat, 26 Jul 2008 20:52:34 +0000 (22:52 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 26 Jul 2008 20:52:34 +0000 (22:52 +0200)
lib/git/repo.py

index c03adeb..1ceb744 100644 (file)
@@ -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):