Merge branch 'mg/work-tree-tests' into maint
[git] / t / t7112-reset-submodule.sh
1 #!/bin/sh
2
3 test_description='reset can handle submodules'
4
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
7
8 test_submodule_switch "git reset --keep"
9
10 test_submodule_switch "git reset --merge"
11
12 test_submodule_forced_switch "git reset --hard"
13
14 test_done