commit-msg: Exclude diff during "git commit -v"
Stop processing the commit message text at a "diff --git" line. Such lines occur when the user commits with the "-v" option. We should not check the patch content; it will be stripped by Git anyway.
Please register or sign in to comment