aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-03 15:10:22 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-03 15:10:22 -0700
commita35031240b8d47ce89d7738ccfd3473073b5a823 (patch)
tree73df7dbd3bf409992580d4f20eee5c9f59502d70 /builtin
parentf8f7adce9fc50a11a764d57815602dcb818d1816 (diff)
parentdef480fe99f142957338c4b01dc258a0070c8087 (diff)
downloadgit-a35031240b8d47ce89d7738ccfd3473073b5a823.tar.gz
git-a35031240b8d47ce89d7738ccfd3473073b5a823.tar.xz
Merge branch 'os/no-verify-skips-commit-msg-too'
"git commit --help" said "--no-verify" is only about skipping the pre-commit hook, and failed to say that it also skipped the commit-msg hook. * os/no-verify-skips-commit-msg-too: commit: describe that --no-verify skips the commit-msg hook in the help text
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 1f6dbcd0d..77e3dc849 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -1617,7 +1617,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
OPT_BOOL(0, "interactive", &interactive, N_("interactively add files")),
OPT_BOOL('p', "patch", &patch_interactive, N_("interactively add changes")),
OPT_BOOL('o', "only", &only, N_("commit only specified files")),
- OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit hook")),
+ OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit and commit-msg hooks")),
OPT_BOOL(0, "dry-run", &dry_run, N_("show what would be committed")),
OPT_SET_INT(0, "short", &status_format, N_("show status concisely"),
STATUS_FORMAT_SHORT),