Escape the repo URI when cloning

This commit is contained in:
Corey Richardson 2012-11-11 10:54:57 -05:00 committed by gmarik
parent c9d9714539
commit 84c9a54254

View File

@ -216,7 +216,7 @@ func! s:sync(bang, bundle) abort
let get_current_sha = g:shellesc_cd(get_current_sha)
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