From: Thierry Reding Date: Wed, 30 Nov 2022 17:28:33 GMT Subject: [PATCH v4] am: Allow passing --no-verify flag Message-ID: <20221130172833.2662751-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 v4: - check that scripts haven't run and that commits have been applied Changes in v3: - move tests to existing t/t4150-am Changes in v2: - add test to verify that the new option works Documentation/git-am.txt | 8 +++++++- builtin/am.c | 11 ++++++++--- t/t4150-am.sh | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 4 deletions(-) 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=