Browse Source

Merge 1202e61c41 into 6497e37694

pull/648/merge
Zemnmez 9 years ago
committed by GitHub
parent
commit
8796612a80
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      autoload/vundle/installer.vim

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

@ -407,7 +407,7 @@ func! s:make_sync_command(bang, bundle) abort
let cmd_parts = [
\ 'cd '.vundle#installer#shellesc(a:bundle.path()),
\ 'git pull',
\ 'git pull --depth 1',
\ 'git submodule update --init --recursive',
\ ]
let cmd = join(cmd_parts, ' && ')
@ -415,7 +415,7 @@ func! s:make_sync_command(bang, bundle) abort
let initial_sha = s:get_current_sha(a:bundle)
else
let cmd = 'git clone --recursive '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(a:bundle.path())
let cmd = 'git clone --recursive --depth 1 '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(a:bundle.path())
let initial_sha = ''
endif
return [cmd, initial_sha]


Loading…
Cancel
Save