diff options
author | Michael J Gruber <git@grubix.eu> | 2019-08-07 11:57:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-07 12:37:33 -0700 |
commit | a1f3dd7eb303d924f90da30808f7702869430321 (patch) | |
tree | b394152984818ecd5c7b33f38d08fdb192be55f3 /Documentation/merge-options.txt | |
parent | t7503: verify proper hook execution (diff) | |
download | tgif-a1f3dd7eb303d924f90da30808f7702869430321.tar.xz |
merge: do no-verify like commit
f8b863598c ("builtin/merge: honor commit-msg hook for merges", 2017-09-07)
introduced the no-verify flag to merge for bypassing the commit-msg
hook, though in a different way from the implementation in commit.c.
Change the implementation in merge.c to be the same as in commit.c so
that both do the same in the same way. This also changes the output of
"git merge --help" to be more clear that the hook return code is
respected by default.
[js: * reworded commit message
* squashed documentation changes from original series' patch 3/4
]
Signed-off-by: Michael J Gruber <git@grubix.eu>
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/merge-options.txt')
-rw-r--r-- | Documentation/merge-options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt index 79a00d2a4a..d6a9f4b96f 100644 --- a/Documentation/merge-options.txt +++ b/Documentation/merge-options.txt @@ -105,6 +105,10 @@ option can be used to override --squash. + With --squash, --commit is not allowed, and will fail. +--no-verify:: + This option bypasses the pre-merge and commit-msg hooks. + See also linkgit:githooks[5]. + -s <strategy>:: --strategy=<strategy>:: Use the given merge strategy; can be supplied more than |