commit-msg hook with verbose commit flag
- From
- GaveUp <gaveup@gaveup.net>
- Date
- Sep 21, 2017, 17:50 UTC
- Message-ID
- <20170921175017.GR1557@sunnydale2.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.