Merge branch 'rs/use-strbuf-complete-line'
[alt-git.git] / t / t4255-am-submodule.sh
blob8bde7dbb6dba8f65797204fee38951e213e80cdd
1 #!/bin/sh
3 test_description='git am handling submodules'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
8 am () {
9 git format-patch --stdout --ignore-submodules=dirty "..$1" | git am -
12 test_submodule_switch "am"
14 am_3way () {
15 git format-patch --stdout --ignore-submodules=dirty "..$1" | git am --3way -
18 KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES=1
19 test_submodule_switch "am_3way"
21 test_done