malformed commit messages for git version 2.42.0 when "commit.verbose true"

From: <hidden>
Date: 2023-10-23 10:43:18

Hello,

I recently set the option `commit.verbose` to `true` for git version 2.42.0, and I really like it.

However, most of the time, commits are malformed if I don’t remove the diff after the marker 
`# ------------------------ >8 ------------------------`

I would expect that anything after the marker is automatically removed by git, or could it be that some pre-commit script see the raw commit message before it is cleaned-up by git itself?

Best,
Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help