From 8c63ac0f2fedd385fafc7dd70ef361c40abe76f3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 13 Jun 2022 07:10:00 -0400 Subject: [PATCH] Fix error message on fugitive#repo().config() --- autoload/fugitive.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index df8ae7a..167d34e 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1575,8 +1575,7 @@ endfunction call s:add_methods('repo',['git_command','git_chomp','git_chomp_in_tree','rev_parse']) function! s:repo_config(name) dict abort - throw 'fugitive: fugitive#repo().config(...) has been replaced by FugitiveConfigGet(...).stdout' - return FugitiveConfigGet(a:name, self.git_dir) + throw 'fugitive: fugitive#repo().config(...) has been replaced by FugitiveConfigGet(...)' endfunction call s:add_methods('repo',['config'])