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>
Orgad Shaneh committed
Jul 26, 2016 at 17:00 UTC
def480fe99f142957338c4b01dc258a0070c8087
1 file changed
+1
-1
builtin/commit.c
+1
-1
@@ -1597,7 +1597,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
1597
OPT_BOOL(0, "interactive", &interactive, N_("interactively add files")),
1598
OPT_BOOL('p', "patch", &patch_interactive, N_("interactively add changes")),
1599
OPT_BOOL('o', "only", &only, N_("commit only specified files")),
1600
- OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit hook")),
1600
+ OPT_BOOL('n', "no-verify", &no_verify, N_("bypass pre-commit and commit-msg hooks")),
1601
OPT_BOOL(0, "dry-run", &dry_run, N_("show what would be committed")),
1602
OPT_SET_INT(0, "short", &status_format, N_("show status concisely"),
1603
STATUS_FORMAT_SHORT),