Remove double quotes

This commit is contained in:
Junegunn Choi 2020-10-20 20:32:31 +09:00
parent 8b7a464094
commit 18197e2f08
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1078,7 +1078,7 @@ function! s:checkout(spec)
let output = s:git_revision(a:spec.dir)
if !empty(output) && !s:hash_match(sha, s:lines(output)[0])
let output = s:system(
\ 'git -c credential.helper="" fetch --depth 999999 && git checkout '.plug#shellescape(sha).' --', a:spec.dir)
\ 'git -c credential.helper= fetch --depth 999999 && git checkout '.plug#shellescape(sha).' --', a:spec.dir)
endif
return output
endfunction