Drop support for hub

You can still enable this manually with

    let g:fugitive_git_command = 'hub'

But Fugitive will likely be dropping support for that in the future.
This commit is contained in:
Tim Pope
2021-02-11 16:17:11 -05:00
parent af12af412d
commit 964d48fd11
2 changed files with 13 additions and 7 deletions

View File

@@ -11,10 +11,6 @@ if !exists('g:dispatch_compilers')
endif
let g:dispatch_compilers['hub'] = 'git'
if !exists('g:fugitive_git_command') && executable('hub')
let g:fugitive_git_command = 'hub'
endif
function! s:Config() abort
if exists('*FugitiveFind')
let dir = FugitiveFind('.git/config')[0:-8]