Skip to content

Commit bfdc8e2

Browse files
jelmerempty
authored andcommitted
Fix use of bare repositories.
(cherry picked from commit 80f8a18a69e307f6ea0bfeb14791fc75e239faa2)
1 parent 7d63328 commit bfdc8e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/git/repo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def __init__(self, path=None):
4444
while curpath:
4545
if is_git_dir(curpath):
4646
self.bare = True
47-
self.path, self.wd = curpath
47+
self.path = curpath
48+
self.wd = curpath
4849
break
4950
gitpath = os.path.join(curpath, '.git')
5051
if is_git_dir(gitpath):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy