Run commit-msg hook on new, edit, refresh -e, squash
If the Git "commit-msg" hook exists, call it on the commit message after
editing when doing "stg new", "stg squash", "stg refresh -e", or "stg edit"
(including in non-interactive mode, e.g. when running "stg edit --sign").
The CLI option --no-verify is also added to these commands to bypass the
hook, consistent with "git commit --no-verify".
(This simplifies the workflow for Gerrit, by allowing the Change-Id line to
be inserted with the commit-msg hook using stgit.)
Fixes bug #18806.
Signed-off-by: Zane Bitter <zbitter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>