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

Commitc1d5c61

Browse files
committed
support passing odbt for using with Repo
1 parent1485103 commitc1d5c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/repo/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def blame(self, rev, file):
737737
returnblames
738738

739739
@classmethod
740-
definit(cls,path=None,mkdir=True,**kwargs):
740+
definit(cls,path=None,mkdir=True,odbt=DefaultDBType,**kwargs):
741741
"""Initialize a git repository at the given path if specified
742742
743743
:param path:
@@ -762,7 +762,7 @@ def init(cls, path=None, mkdir=True, **kwargs):
762762
# git command automatically chdir into the directory
763763
git=Git(path)
764764
git.init(**kwargs)
765-
returncls(path)
765+
returncls(path,odbt=odbt)
766766

767767
@classmethod
768768
def_clone(cls,git,url,path,odb_default_type,progress,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp