From 951a0f25fed67b7ad5d1efe5b07a126cbd819e30 Mon Sep 17 00:00:00 2001 From: MURAOKA Yusuke Date: Thu, 29 Sep 2011 01:25:55 +0900 Subject: [PATCH] add support git submodule updating. --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 2ac2c35..d5691cc 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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