Add line limit to read of MERGE_MSG

This commit is contained in:
Tim Pope
2025-07-15 17:29:37 -04:00
parent 61b51c09b7
commit 045d2de2d7

View File

@@ -2950,7 +2950,7 @@ function! s:StatusRender(stat) abort
endfor
else
try
let merge_msg = get(readfile(fugitive#Find('.git/MERGE_MSG', dir)), 0, '')
let merge_msg = get(readfile(fugitive#Find('.git/MERGE_MSG', dir), '', 1), 0, '')
catch
endtry
endif