Skip to content

Commit af8760c

Browse files
committed
Added https support.
1 parent 7a8a961 commit af8760c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magithub.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ repo, and SSH is non-nil if it's checked out via SSH."
141141
(block nil
142142
(let ((url (magit-get "remote" remote "url")))
143143
(unless url (return))
144-
(when (string-match "\\(?:git\\|http\\)://github\\.com/\\(.*?\\)/\\(.*\\)\.git" url)
144+
(when (string-match "\\(?:git\\|https?\\)://github\\.com/\\(.*?\\)/\\(.*\\)\.git" url)
145145
(return (list (match-string 1 url) (match-string 2 url) nil)))
146146
(when (string-match "git@github\\.com:\\(.*?\\)/\\(.*\\)\\.git" url)
147147
(return (list (match-string 1 url) (match-string 2 url) t)))

0 commit comments

Comments
 (0)