Browse Source

add support git submodule updating.

pull/91/head
MURAOKA Yusuke 15 years ago
parent
commit
951a0f25fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/installer.vim

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

@ -189,7 +189,7 @@ func! s:sync(bang, bundle) abort
let dest_dir = shellescape(a:bundle.path())
if isdirectory(git_dir)
if !(a:bang) | return 'todate' | endif
let cmd = 'cd '.dest_dir.' && git pull'
let cmd = 'cd '.dest_dir.' && git pull && git submodule foreach ''git checkout master; git pull'' && git submodule update'
if (has('win32') || has('win64'))
let cmd = substitute(cmd, '^cd ','cd /d ','') " add /d switch to change drives


Loading…
Cancel
Save