]> Kevux Git Server - rit/commit
rebase --apply: don't run post-checkout hook if there is an error
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 26 Jan 2022 13:05:40 +0000 (13:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Jan 2022 20:08:53 +0000 (12:08 -0800)
commit4840002a5f44a4c256c55f70c59d3b0506d14e21
tree4dc007512d0fe02557d1dfccc94bcb0ea63a9163
parentab2fba0868860e610619f885031217d9cc63097a
rebase --apply: don't run post-checkout hook if there is an error

The hook should only be run if the worktree and refs were successfully
updated. This primarily affects "rebase --apply" but also "rebase
--merge" when it fast-forwards.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reset.c
t/t5403-post-checkout-hook.sh