mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-03 00:43:53 +08:00
Add line limit to read of MERGE_MSG
This commit is contained in:
1 parent
61b51c09b7
commit
045d2de2d7
1 file changed
+1
-1
@@ -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