# commit-msg hook with verbose commit flag

1 messages from 2017-09-21 to 2017-09-21. Participants: GaveUp.
Thread: https://gitlist.dev/t/46804

## GaveUp, 2017-09-21 17:50

Subject: commit-msg hook with verbose commit flag
Message-ID: <20170921175017.GR1557@sunnydale2.internal.pylea.com>
URL: https://gitlist.dev/e/20170921175017.GR1557%40sunnydale2.internal.pylea.com

```
When using the --verbose flag on git-commit with a commit-msg hook the
contents of the diff are passed to the commit-msg hook.  I would have
expected the diff to have been removed since it's below the scissor
line.  Since the scissor line is removed and not visible to commit-msg
there doesn't seem to be a great way to ignore the diff contents either.

```
