t3422: new testcases for checking when incompatible options passed
authorElijah Newren <newren@gmail.com>
Wed, 27 Jun 2018 07:23:13 +0000 (00:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2018 18:23:22 +0000 (11:23 -0700)
commit9929430c32f8754de559e00fba65fd978ecd05da
treeb0c08e2367ec0f3a5bfd291c7b7dbf47ab7a4459
parentd4e80629ff480cbddd8c1ac7e7cfb86d58978514
t3422: new testcases for checking when incompatible options passed

git rebase is split into three types: am, merge, and interactive.  Various
options imply different types, and which mode we are using determine which
sub-script (git-rebase--$type) is executed to finish the work.  Not all
options work with all types, so add tests for combinations where we expect
to receive an error rather than having options be silently ignored.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3422-rebase-incompatible-options.sh [new file with mode: 0755]