git-apply: add --quiet flag
Replace OPT_VERBOSE with OPT_VERBOSITY. This adds a --quiet flag to "git apply" so the user can turn down the verbosity. Signed-off-by: Jerry Zhang <jerry@skydio.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e773545c7f
commit
c21b8ae857
2
apply.c
2
apply.c
@ -5071,7 +5071,7 @@ int apply_parse_options(int argc, const char **argv,
|
||||
N_("leave the rejected hunks in corresponding *.rej files")),
|
||||
OPT_BOOL(0, "allow-overlap", &state->allow_overlap,
|
||||
N_("allow overlapping hunks")),
|
||||
OPT__VERBOSE(&state->apply_verbosity, N_("be verbose")),
|
||||
OPT__VERBOSITY(&state->apply_verbosity),
|
||||
OPT_BIT(0, "inaccurate-eof", options,
|
||||
N_("tolerate incorrectly detected missing new-line at the end of file"),
|
||||
APPLY_OPT_INACCURATE_EOF),
|
||||
|
Reference in New Issue
Block a user