closes #31
- append slash to indicate directory, so expand ingnores wildignore settings
This commit is contained in:
parent
1f876843e6
commit
fcad9a4bbb
@ -62,7 +62,7 @@ func! s:helptags(rtp) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:sync(bang, bundle) abort
|
func! s:sync(bang, bundle) abort
|
||||||
let git_dir = expand(a:bundle.path().'/.git')
|
let git_dir = expand(a:bundle.path().'/.git/')
|
||||||
if isdirectory(git_dir)
|
if isdirectory(git_dir)
|
||||||
if !(a:bang) | return 0 | endif
|
if !(a:bang) | return 0 | endif
|
||||||
let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull'
|
let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull'
|
||||||
|
Loading…
Reference in New Issue
Block a user