3 test_description='git apply handling submodules'
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
9 git diff --ignore-submodules=dirty "..$1" | git apply --index -
12 test_submodule_switch "apply_index"
15 git diff --ignore-submodules=dirty "..$1" | git apply --3way -
18 test_submodule_switch "apply_3way"