From ee4c86cc51f1e37d563accf67da1c027713426ac Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sun, 11 Nov 2012 10:54:57 -0500 Subject: [PATCH] Escape the repo URI when cloning --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index f7e4375..4de53a9 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -218,7 +218,7 @@ func! s:sync(bang, bundle) abort let get_current_sha = 'cd '.shellescape(a:bundle.path()).' && git rev-parse HEAD' let initial_sha = s:system(get_current_sha)[0:15] else - let cmd = 'git clone --recursive '.a:bundle.uri.' '.shellescape(a:bundle.path()) + let cmd = 'git clone --recursive '.shellescape(a:bundle.uri).' '.shellescape(a:bundle.path()) let initial_sha = '' endif