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 7a8a961 commit af8760cCopy full SHA for af8760c
magithub.el
@@ -141,7 +141,7 @@ repo, and SSH is non-nil if it's checked out via SSH."
141
(block nil
142
(let ((url (magit-get "remote" remote "url")))
143
(unless url (return))
144
- (when (string-match "\\(?:git\\|http\\)://github\\.com/\\(.*?\\)/\\(.*\\)\.git" url)
+ (when (string-match "\\(?:git\\|https?\\)://github\\.com/\\(.*?\\)/\\(.*\\)\.git" url)
145
(return (list (match-string 1 url) (match-string 2 url) nil)))
146
(when (string-match "git@github\\.com:\\(.*?\\)/\\(.*\\)\\.git" url)
147
(return (list (match-string 1 url) (match-string 2 url) t)))
0 commit comments