Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
commit: describe that --no-verify skips the commit-msg hook in the help text
author
Orgad Shaneh
<orgads@gmail.com>
Tue, 26 Jul 2016 14:00:15 +0000
(17:00 +0300)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 26 Jul 2016 20:44:55 +0000
(13:44 -0700)
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>
builtin/commit.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
7654286
)
diff --git
a/builtin/commit.c
b/builtin/commit.c
index c2ebea4ed31d13cfe48603042edfb0ca63f5de6e..99076fa338aa2b7797ac68df243dff09e8c78c0c 100644
(file)
--- 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(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),
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),