tree-wide: apply equals-null.cocci
[alt-git.git] / t / t7112-reset-submodule.sh
bloba3e2413bc339533ef09a9092b2918b7265645e68
1 #!/bin/sh
3 test_description='reset can handle submodules'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
8 KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1
10 test_submodule_switch_recursing_with_args "reset --keep"
12 test_submodule_forced_switch_recursing_with_args "reset --hard"
14 test_submodule_switch "reset --keep"
16 test_submodule_switch "reset --merge"
18 test_submodule_forced_switch "reset --hard"
20 test_done