Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/repos.py
diff options
context:
space:
mode:
Diffstat (limited to 'repos.py')
-rw-r--r--repos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repos.py b/repos.py
index 2595de7..e459bea 100644
--- a/repos.py
+++ b/repos.py
@@ -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