author | Wincent Colaiuta <win@wincent.com> | |
Sat, 8 Dec 2007 11:38:07 +0000 (12:38 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Dec 2007 08:55:54 +0000 (00:55 -0800) | ||
commit | 6b95655d7d2a5378e409ea0754b9b8d32ed939f8 | |
tree | 739111c3e397fd5ea1001ae3a862a90d35d748b9 | tree | snapshot |
parent | 2ea7fe0d2c15a88e7e3131ad5e7e83c7320d8d0c | commit | diff |
Allow --no-verify to bypass commit-msg hook
At the moment the --no-verify switch to "git commit" instructs it to
skip over the pre-commit hook. Here we teach "git commit --no-verify"
to skip over the commit-msg hook as well. This brings the behaviour
of builtin-commit back in line with git-commit.sh.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
At the moment the --no-verify switch to "git commit" instructs it to
skip over the pre-commit hook. Here we teach "git commit --no-verify"
to skip over the commit-msg hook as well. This brings the behaviour
of builtin-commit back in line with git-commit.sh.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history |