We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbfd9a commit b11b6d1Copy full SHA for b11b6d1
1 file changed
bin/repo_check.py
@@ -20,7 +20,7 @@
20
21
22
# Pattern to match Git command-line output for remotes => (user name, project name).
23
-P_GIT_REMOTE = re.compile(r'upstream\s+[^:]+:([^/]+)/([^.]+)\.git\s+\(fetch\)')
+P_GIT_REMOTE = re.compile(r'upstream\s+[^:]+:([^/]+)/([^.]+)(\.git)?\s+\(fetch\)')
24
25
# Repository URL format string.
26
F_REPO_URL = 'https://github.com/{0}/{1}/'
0 commit comments