commit 8c63ac0f2fedd385fafc7dd70ef361c40abe76f3 (tree)
parent b42f95c0c2181ac96c92907235805c1c1bdcd7f2
Author: Tim Pope <code@tpope.net>
Date: Mon, 13 Jun 2022 07:10:00 -0400
Fix error message on fugitive#repo().config()
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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'])