Browse Source

use Shallow Clones instead of complete Clones to speed up the :BundleInstall step

pull/335/head
Javier Lopez 12 years ago
parent
commit
faa8d925f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/installer.vim

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

@ -222,7 +222,7 @@ func! s:sync(bang, bundle) abort
let get_current_sha = g:shellesc_cd(get_current_sha)
let initial_sha = s:system(get_current_sha)[0:15]
else
let cmd = 'git clone --recursive '.shellescape(a:bundle.uri).' '.shellescape(a:bundle.path())
let cmd = 'git clone --dept=1 --recursive '.shellescape(a:bundle.uri).' '.shellescape(a:bundle.path())
let initial_sha = ''
endif


Loading…
Cancel
Save