summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2016-07-26 14:00:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-26 20:44:55 (GMT)
commitdef480fe99f142957338c4b01dc258a0070c8087 (patch)
tree0a84c2a01e0a6aed3e1095b1a0f8dd516e1fcae0 /builtin/commit.c
parent765428699a5381f113d19974720bc91b5bfeaf1d (diff)
downloadgit-def480fe99f142957338c4b01dc258a0070c8087.zip
git-def480fe99f142957338c4b01dc258a0070c8087.tar.gz
git-def480fe99f142957338c4b01dc258a0070c8087.tar.bz2
commit: describe that --no-verify skips the commit-msg hook in the help text
This brings the short help in line with the documentation. Signed-off-by: Orgad Shaneh <orgads@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index c2ebea4..99076fa 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -1597,7 +1597,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),