From: Thierry Reding Date: Sat, 19 Nov 2022 00:50:31 GMT Subject: [PATCH v2] am: Allow passing --no-verify flag Message-ID: <20221119005031.3170699-1-thierry.reding@gmail.com> From: Thierry Reding The git-am --no-verify flag is analogous to the same flag passed to git-commit. It bypasses the pre-applypatch and applypatch-msg hooks if they are enabled. Signed-off-by: Thierry Reding --- Changes in v2: - add test to verify that the new option works Documentation/git-am.txt | 8 +++++- builtin/am.c | 11 ++++++-- t/t4154-am-noverify.sh | 60 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 4 deletions(-) create mode 100755 t/t4154-am-noverify.sh diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 326276e51ce5..0c1dfb3c98b4 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -9,7 +9,7 @@ git-am - Apply a series of patches from a mailbox SYNOPSIS -------- [verse] -'git am' [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] +'git am' [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] [--no-verify] [--[no-]3way] [--interactive] [--committer-date-is-author-date] [--ignore-date] [--ignore-space-change | --ignore-whitespace] [--whitespace=