]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
rebase: introduce --reschedule-failed-exec
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 10 Dec 2018 19:04:58 +0000 (11:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Dec 2018 08:19:01 +0000 (17:19 +0900)
commitd421afa0c66ec6bbd15602d534f77546c516f2a5
tree723714ec4901aeb6facf61094e98d3728631c80f
parent5d826e972970a784bd7a7bdf587512510097b8c7
rebase: introduce --reschedule-failed-exec

A common use case for the `--exec` option is to verify that each commit
in a topic branch compiles cleanly, via `git rebase -x make <base>`.

However, when an `exec` in such a rebase fails, it is not re-scheduled,
which in this instance is not particularly helpful.

Let's offer a flag to reschedule failed `exec` commands.

Based on an idea by Paul Morelle.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt
builtin/rebase--interactive.c
builtin/rebase.c
git-legacy-rebase.sh
git-rebase--common.sh
sequencer.c
sequencer.h
t/t3418-rebase-continue.sh