Browse Source

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
pull/180/head
mduan 14 years ago
parent
commit
f928ba0491
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/installer.vim

+ 1
- 1
autoload/vundle/installer.vim View File

@ -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…
Cancel
Save