Skip to content

Commit def480f

Browse files
orgadsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7654286 commit def480f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
15971597
OPT_BOOL(0, "interactive", &interactive, N_("interactively add files")),
15981598
OPT_BOOL('p', "patch", &patch_interactive, N_("interactively add changes")),
15991599
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")),
16011601
OPT_BOOL(0, "dry-run", &dry_run, N_("show what would be committed")),
16021602
OPT_SET_INT(0, "short", &status_format, N_("show status concisely"),
16031603
STATUS_FORMAT_SHORT),

0 commit comments

Comments
 (0)