Skip to content

Commit b70d427

Browse files
committed
:update: fix github github.com (port 9418) timeout problem
1 parent cb47161 commit b70d427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitfs2/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class GitRequire(object):
1616
def __init__(
1717
self, git_url=None, branch=None, submodule="False", reference=None
1818
):
19-
self.git_url = git_url
19+
self.git_url = git_url.replace("git://", "ssh://git@")
2020
self.submodule = convert_submodule(submodule)
2121
self.branch = branch
2222
self.reference = reference

0 commit comments

Comments
 (0)