Browse Source

verbose logging

pull/73/head
gmarik 15 years ago
parent
commit
42f5825f70
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      autoload/vundle/installer.vim

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

@ -131,6 +131,10 @@ func! s:sync(bang, bundle) abort
endif
let out = s:system(cmd)
call s:log('')
call s:log('Bundle '.a:bundle.name_spec)
call s:log('$ '.cmd)
call s:log('> '.out)
if 0 != v:shell_error
return 'error'
@ -144,7 +148,7 @@ func! s:sync(bang, bundle) abort
endf
func! s:system(cmd) abort
return s:log(system(a:cmd))
return system(a:cmd)
endf
func! s:log(str) abort


Loading…
Cancel
Save