From 045d2de2d7b964259a5ba9d1af580ff87a80ffef Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 15 Jul 2025 17:29:37 -0400 Subject: [PATCH] Add line limit to read of MERGE_MSG --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 7f2f602..95d1be5 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -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