mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-08-12 19:11:36 +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
|
endfor
|
||||||
else
|
else
|
||||||
try
|
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
|
catch
|
||||||
endtry
|
endtry
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user