tests (rebase): spell out the --force-rebase
option
In quite a few test cases, we were sloppy and used the abbreviation `--force`, but we really should be precise in what we want to test. 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
dd605e4956
commit
f927ae6c86
@ -277,7 +277,7 @@ test_expect_success 'autosquash with empty custom instructionFormat' '
|
||||
(
|
||||
set_cat_todo_editor &&
|
||||
test_must_fail git -c rebase.instructionFormat= \
|
||||
rebase --autosquash --force -i HEAD^ >actual &&
|
||||
rebase --autosquash --force-rebase -i HEAD^ >actual &&
|
||||
git log -1 --format="pick %h %s" >expect &&
|
||||
test_cmp expect actual
|
||||
)
|
||||
|
Reference in New Issue
Block a user