1#!/bin/sh
23
test_description='merge can handle submodules'
45
. ./test-lib.sh
6. "$TEST_DIRECTORY"/lib-submodule-update.sh
78
# merges without conflicts
9test_submodule_switch "git merge"
1011
test_submodule_switch "git merge --ff"
1213
test_submodule_switch "git merge --ff-only"
1415
KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR=1
16KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES=1
17test_submodule_switch "git merge --no-ff"
1819
test_done