Enable hub if installed

This commit is contained in:
Tim Pope
2013-02-19 23:50:33 -05:00
parent 280a7b12df
commit 42175a0441

View File

@@ -6,6 +6,10 @@ if exists("g:loaded_rhubarb") || v:version < 700 || &cp
endif
let g:loaded_rhubarb = 1
if get(g:, 'fugitive_git_executable', 'git') ==# 'git' && executable('hub')
let g:fugitive_git_executable = 'hub'
endif
" Utility {{{1
function! s:throw(string) abort