mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 07:13:52 -05:00
Remove broken deprecated :Git merge calling mergetool
Closes https://github.com/tpope/vim-fugitive/issues/1704
This commit is contained in:
@@ -3970,7 +3970,7 @@ function! s:MergeSubcommand(line1, line2, range, bang, mods, options) abort
|
|||||||
\ filereadable(fugitive#Find('.git/MERGE_MSG', dir)) ||
|
\ filereadable(fugitive#Find('.git/MERGE_MSG', dir)) ||
|
||||||
\ isdirectory(fugitive#Find('.git/rebase-apply', dir)) ||
|
\ isdirectory(fugitive#Find('.git/rebase-apply', dir)) ||
|
||||||
\ !empty(s:TreeChomp(dir, 'diff-files', '--diff-filter=U')))
|
\ !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
|
endif
|
||||||
return {}
|
return {}
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user