mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-03-08 16:06:56 +08:00
Add line limit to read of MERGE_MSG
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user