mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 20:13:46 -05:00
Use https for GitHub URL
This commit is contained in:
@@ -1491,7 +1491,7 @@ function! s:github_url(repo,url,rev,commit,path,type,line1,line2) abort
|
|||||||
if repo_path ==# ''
|
if repo_path ==# ''
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
let root = 'http://github.com/' . repo_path
|
let root = 'https://github.com/' . repo_path
|
||||||
if path =~# '^\.git/refs/heads/'
|
if path =~# '^\.git/refs/heads/'
|
||||||
let branch = a:repo.git_chomp('config','branch.'.path[16:-1].'.merge')[11:-1]
|
let branch = a:repo.git_chomp('config','branch.'.path[16:-1].'.merge')[11:-1]
|
||||||
if branch ==# ''
|
if branch ==# ''
|
||||||
|
|||||||
Reference in New Issue
Block a user