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

Commit2effd7a

Browse files
committed
removed to much :þ
1 parentf347c6d commit2effd7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎lib/git/repo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ def init_bare(self, path, mkdir=True, **kwargs):
271271
Returns
272272
``GitPython.Repo`` (the newly created repo)
273273
"""
274+
275+
ifmkdirandnotos.path.exists(gitpath):
276+
os.makedirs(gitpath,0755)
277+
274278
git=Git(path)
275279
output=git.init(**kwargs)
276280
returnRepo(path)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp