Use https for GitHub URL

This commit is contained in:
Alexander Kahn 2011-03-08 04:05:22 +08:00 committed by Tim Pope
parent 57831bb5c1
commit 762bfa7979

View File

@ -1491,7 +1491,7 @@ function! s:github_url(repo,url,rev,commit,path,type,line1,line2) abort
if repo_path ==# ''
return ''
endif
let root = 'http://github.com/' . repo_path
let root = 'https://github.com/' . repo_path
if path =~# '^\.git/refs/heads/'
let branch = a:repo.git_chomp('config','branch.'.path[16:-1].'.merge')[11:-1]
if branch ==# ''