Make git clone also grab submodules
With just `git clone`, submodules are not grabbed. This is an issue for certain plugins, such as 'kevinw/pyflakes-vim' that requires a pyflakes submodule
This commit is contained in:
parent
59bff0c457
commit
f928ba0491
@ -216,7 +216,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 '.a:bundle.uri.' '.shellescape(a:bundle.path())
|
||||
let cmd = 'git clone --recursive '.a:bundle.uri.' '.shellescape(a:bundle.path())
|
||||
let initial_sha = ''
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user