Browse Source

Safeguard when no matches

- addresses #162 issues
pull/166/head
gmarik 14 years ago
parent
commit
faf8dd38b6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      autoload/vundle/installer.vim

+ 3
- 0
autoload/vundle/installer.vim View File

@ -240,6 +240,9 @@ endf
func! s:add_to_updated_bundles(out, bundle) abort
let git_pull_shas = matchlist(a:out, 'Updating \(\w\+\)..\(\w\+\)')
if (empty(git_pull_shas)) | return | endif
let initial_sha = git_pull_shas[1]
let updated_sha = git_pull_shas[2]


Loading…
Cancel
Save