Browse Source

CHANGED: Added checkout of revision

pull/267/head
Timo Sand 13 years ago
parent
commit
1deac65ccf
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      autoload/vundle/installer.vim

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

@ -225,6 +225,13 @@ func! s:sync(bang, bundle) abort
call s:run_and_log(a:bundle, cmd)
if has_rev
let cmd = 'cd '.shellescape(a:bundle.path()).' && git checkout '.a:bundle.rev
let cmd = g:shellesc_cd(cmd)
call s:run_and_log(a:bundle, cmd)
endif
if 0 != v:shell_error
return 'error'
end


Loading…
Cancel
Save