Skip to content

Commit

Permalink
Update repository.py
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Nov 16, 2023
1 parent 648f271 commit 669e7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydriller/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(self, path_to_repo: Union[str, List[str]],

@staticmethod
def _is_remote(repo: str) -> bool:
return repo.startswith(("git@", "https://", "http://"))
return repo.startswith(("git@", "https://", "http://", "git://"))

def _clone_remote_repo(self, tmp_folder: str, repo: str) -> str:
repo_folder = os.path.join(tmp_folder, self._get_repo_name_from_url(repo))
Expand Down

0 comments on commit 669e7a3

Please sign in to comment.