commit 762bfa79795146ee44d50d4ce8b3e36efcb603b8 (tree)
parent 57831bb5c1d3546950c98e1b9233ae499eccff03
Author: Alexander Kahn <alexanderkahn@gmail.com>
Date: Tue, 8 Mar 2011 04:05:22 +0800
Use https for GitHub URL
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -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 ==# ''