diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index f7e4375..a108cfb 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -212,7 +212,9 @@ func! s:sync(bang, bundle) abort if (has('win32') || has('win64')) let cmd = substitute(cmd, '^cd ','cd /d ','') " add /d switch to change drives - let cmd = '"'.cmd.'"' " enclose in quotes + if (version < 703 || (version == 703 && !has('patch445'))) + let cmd = '"'.cmd.'"' " enclose in quotes + endif endif let get_current_sha = 'cd '.shellescape(a:bundle.path()).' && git rev-parse HEAD'