mirror of
https://github.com/git/git.git
synced 2026-04-10 17:00:09 +02:00
rebase: flag --apply and --merge as incompatible
Previously, we flagged options which implied --apply as being incompatible with options which implied --merge. But if both options were given explicitly, then we didn't flag the incompatibility. The same is true with --apply and --interactive. Add the check, and add some testcases to verify these are also caught. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
1207599e83
commit
7d718c552b
@@ -67,7 +67,10 @@ test_rebase_am_only () {
|
||||
|
||||
}
|
||||
|
||||
# Check options which imply --apply
|
||||
test_rebase_am_only --whitespace=fix
|
||||
test_rebase_am_only -C4
|
||||
# Also check an explicit --apply
|
||||
test_rebase_am_only --apply
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user