mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
Revert "rebase: introduce a shortcut for --reschedule-failed-exec"
This patch was contributed only as a tentative "we could introduce a
convenient short option if we do not want to change the default behavior
in the long run" patch, opening the discussion whether other people
agree with deprecating the current behavior in favor of the rescheduling
behavior.
But the consensus on the Git mailing list was that it would make sense
to show a warning in the near future, and flip the default
rebase.rescheduleFailedExec to reschedule failed `exec` commands by
default. See e.g.
<CAGZ79kZL5CRqCDRb6B-EedUm8Z_i4JuSF2=UtwwdRXMitrrOBw@mail.gmail.com>
So let's back out that patch that added the `-y` short option that we
agreed was not necessary or desirable.
This reverts commit 81ef8ee75d.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
81ef8ee75d
commit
e11ff8975b
@@ -262,9 +262,6 @@ test_expect_success '--reschedule-failed-exec' '
|
||||
test_must_fail git -c rebase.rescheduleFailedExec=true \
|
||||
rebase -x false HEAD^ 2>err &&
|
||||
grep "^exec false" .git/rebase-merge/git-rebase-todo &&
|
||||
test_i18ngrep "has been rescheduled" err &&
|
||||
git rebase --abort &&
|
||||
test_must_fail git rebase -y false HEAD^ 2>err &&
|
||||
test_i18ngrep "has been rescheduled" err
|
||||
'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user