diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index f733e24..787849f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -6303,16 +6303,7 @@ endfunction " Section: Initialization function! fugitive#Init() abort - let dir = s:Dir() - if &tags !~# '\.git' && @% !~# '\.git' && !exists('s:tags_warning') - let actualdir = fugitive#Find('.git/', dir) - if filereadable(actualdir . 'tags') - let s:tags_warning = 1 - echohl WarningMsg - echo "Fugitive .git/tags support removed in favor of `:set tags^=./.git/tags;`" - echohl NONE - endif - endif + throw 'Third party code is using fugitive#Init() which has been removed. Contact the author if you have a reason to still use it' endfunction function! fugitive#is_git_dir(path) abort diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index bd86b77..e0c5c74 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -279,9 +279,6 @@ function! FugitiveDetect(path) abort let b:git_dir = dir endif endif - if exists('b:git_dir') - return fugitive#Init() - endif endfunction function! FugitiveVimPath(path) abort