summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-merge-commit.sample
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@grubix.eu>2019-08-07 11:57:06 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-07 12:37:33 -0700
commita1f3dd7eb303d924f90da30808f7702869430321 (patch)
treeb394152984818ecd5c7b33f38d08fdb192be55f3 /templates/hooks--pre-merge-commit.sample
parentt7503: verify proper hook execution (diff)
downloadtgif-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 'templates/hooks--pre-merge-commit.sample')
0 files changed, 0 insertions, 0 deletions