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

1 messages from 2023-10-23 to 2023-10-23. Participants: matthieu@talbot.audio.
Thread: https://gitlist.dev/t/60415

## matthieu@talbot.audio, 2023-10-23 10:36

Subject: malformed commit messages for git version 2.42.0 when "commit.verbose true"
Message-ID: <9a72287d979a0bd9dce390478d8522139646fb4e@talbot.audio>
URL: https://gitlist.dev/e/9a72287d979a0bd9dce390478d8522139646fb4e%40talbot.audio

```
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

```
