Format the full body instead of separating title
commit5661dea7be3d176773ed217c424c0d0f5717bd31
authorDavid Briscoe <idbrii@gmail.com>
Wed, 3 Jul 2024 20:30:41 +0000 (3 13:30 -0700)
committerTim Pope <tpope@github.com>
Fri, 5 Jul 2024 15:59:21 +0000 (5 11:59 -0400)
tree2d6be7ac108c9247d08562a212a42e6aebbda17a
parentd0c1a437536778bcc8174b7cb2ffdf98f611e6fe
Format the full body instead of separating title

Fix #2315: Gedit strips newlines when commit lacks a blank line

%B is the "raw body (unwrapped subject and body)". Since we're
displaying both, we can use that to avoid any changes to the message
content. %B was added to git in 1.7.2 (2010) in commit
1367b12ad623e28546ba40c435015d94e7fbb248, and fugitive requires 1.8.5 so
it's safe to use.
autoload/fugitive.vim