mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 22:33:51 -05:00
Fix :Gmerge
This commit is contained in:
@@ -3761,7 +3761,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:MergeSubcommand(line1, line2, range, bang, mods, args) abort
|
function! s:MergeSubcommand(line1, line2, range, bang, mods, args) abort
|
||||||
let dir = s:Dir()
|
let dir = s:Dir()
|
||||||
if empty(args) && (
|
if empty(a:args) && (
|
||||||
\ 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')))
|
||||||
|
|||||||
Reference in New Issue
Block a user