diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 1a97fb507d..2fad56c76f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1702,8 +1702,8 @@ endfunction function! s:QueryLog(refspec) abort let lines = s:LinesError(['log', '-n', '256', '--pretty=format:%h%x09%s', a:refspec, '--'])[0] - call map(lines, 'split(v:val, "\t")') - call map(lines, '{"type": "Log", "commit": v:val[0], "subject": v:val[-1]}') + call map(lines, 'split(v:val, "\t", 1)') + call map(lines, '{"type": "Log", "commit": v:val[0], "subject": join(v:val[1 : -1], "\t")}') return lines endfunction