Fix error message on fugitive#repo().config()

This commit is contained in:
Tim Pope
2022-06-13 07:10:00 -04:00
parent b42f95c0c2
commit 8c63ac0f2f

View File

@@ -1575,8 +1575,7 @@ endfunction
call s:add_methods('repo',['git_command','git_chomp','git_chomp_in_tree','rev_parse']) call s:add_methods('repo',['git_command','git_chomp','git_chomp_in_tree','rev_parse'])
function! s:repo_config(name) dict abort function! s:repo_config(name) dict abort
throw 'fugitive: fugitive#repo().config(...) has been replaced by FugitiveConfigGet(...).stdout' throw 'fugitive: fugitive#repo().config(...) has been replaced by FugitiveConfigGet(...)'
return FugitiveConfigGet(a:name, self.git_dir)
endfunction endfunction
call s:add_methods('repo',['config']) call s:add_methods('repo',['config'])