fast-import: use mem_pool_calloc()
[git.git] / t / t6438-submodule-directory-file-conflicts.sh
blob8df67a0ef99d26357404579ef3dbc102317fc5c6
1 #!/bin/sh
3 test_description='merge can handle submodules'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
8 # merges without conflicts
9 test_submodule_switch "merge"
11 test_submodule_switch "merge --ff"
13 test_submodule_switch "merge --ff-only"
15 if test "$GIT_TEST_MERGE_ALGORITHM" != ort
16 then
17 KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR=1
18 KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES=1
20 test_submodule_switch "merge --no-ff"
22 test_done