]> granicus.if.org Git - git/commit
builtin rebase: handle the pre-rebase hook and --no-verify
authorPratik Karki <predatoramigo@gmail.com>
Tue, 4 Sep 2018 21:27:10 +0000 (14:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Sep 2018 18:55:42 +0000 (11:55 -0700)
commit06e4775a8cfb5ccc5afdfbf43b1a270625888adc
treeab931c7ba0fcc84df8aa2ce8e4b66b5df501ec4d
parent075bc8527c7e162e1131ac42443637dbe3bef16a
builtin rebase: handle the pre-rebase hook and --no-verify

This commit converts the equivalent part of the shell script
`git-legacy-rebase.sh` to run the pre-rebase hook (unless disabled), and
to interrupt the rebase with error if the hook fails.

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c