From 563faf95b8f386fde4562884f93ec888e1b8ec82 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 18 Mar 2021 15:35:13 -0400 Subject: [PATCH] Remove broken deprecated :Git merge calling mergetool Closes https://github.com/tpope/vim-fugitive/issues/1704 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index b13e7df..b028d7c 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3970,7 +3970,7 @@ function! s:MergeSubcommand(line1, line2, range, bang, mods, options) abort \ filereadable(fugitive#Find('.git/MERGE_MSG', dir)) || \ isdirectory(fugitive#Find('.git/rebase-apply', dir)) || \ !empty(s:TreeChomp(dir, 'diff-files', '--diff-filter=U'))) - return 'echohl WarningMsg|echo ":Git merge for loading conflicts is deprecated in favor of :Git mergetool"|echohl NONE|silent Git' . (a:bang ? '!' : '') . s:fnameescape(a:options.flags + ['mergetool']) + return 'echoerr ":Git merge for loading conflicts hase been removed in favor of :Git mergetool"' endif return {} endfunction