diff options
-rw-r--r-- | repos.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ def get_by_url(url): return repo if url.startswith("https://github.com"): - if repo.url == url.replace("https://", "git://"): + git_protocol_url = url.replace("https://", "git://") + ".git" + if repo.url == git_protocol_url: return repo return None |