Kill old plugin conflict guard

This commit is contained in:
Tim Pope
2012-03-18 23:01:26 -04:00
parent 19d9875186
commit 165923ebaf

View File

@@ -89,17 +89,9 @@ function! s:define_commands()
endfor
endfunction
function! s:compatibility_check()
if exists('b:git_dir') && exists('*GitBranchInfoCheckGitDir') && !exists('g:fugitive_did_compatibility_warning')
let g:fugitive_did_compatibility_warning = 1
call s:warn("See http://github.com/tpope/vim-fugitive/issues#issue/1 for why you should remove git-branch-info.vim")
endif
endfunction
augroup fugitive_utility
autocmd!
autocmd User Fugitive call s:define_commands()
autocmd VimEnter * call s:compatibility_check()
augroup END
let s:abstract_prototype = {}