pull: honor --no-verify and do not call the commit-msg hook
commit47bfdfb3fd3b4752d2292a6744fae9abe37b8f1e
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 28 Oct 2021 15:46:19 +0000 (28 17:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Oct 2021 16:52:09 +0000 (28 09:52 -0700)
treed0d4ce2f977eb530849b4d86cbe31f5f2ce2e6aa
parentaf6d1d602a8f64164b266364339c4e936d5bbc33
pull: honor --no-verify and do not call the commit-msg hook

The option was incorrectly auto-translated to "--no-verify-signatures",
which causes the unexpected effect of the hook being called.
And an even more unexpected effect of disabling verification of signatures.

The manual page describes the option to behave same as the similarly
named option of "git merge", which seems to be the original intention
of this option in the "pull" command.

Signed-off-by: Alexander Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pull.c
t/t5521-pull-options.sh