Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfdc8e2

Browse files
jelmerempty
authored andcommitted
Fix use of bare repositories.
(cherry picked from commit 80f8a18a69e307f6ea0bfeb14791fc75e239faa2)
1 parent7d63328 commitbfdc8e2

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
whilecurpath:
4545
ifis_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
ifis_git_dir(gitpath):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp