From badef66cb87e396447f6a2ba0529c798e773d341 Mon Sep 17 00:00:00 2001 From: sarrow104 Date: Fri, 5 Aug 2016 10:15:09 +0800 Subject: [PATCH] add uri_https2ssl() for self manage repo check --- autoload/vundle/installer.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 472271a3..7da6d6a9 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -363,6 +363,9 @@ func! s:get_current_sha(bundle) return out endf +func! s:uri_https2ssl(uri) + return substitute(a:uri, '\ Plugin ' . a:bundle.name . ' old URI: ' . current_origin_url) call s:log('> Plugin ' . a:bundle.name . ' new URI: ' . a:bundle.uri)