Merge branch 'mh/ref-directory-file' into maint
[git/mjg.git] / t / t7112-reset-submodule.sh
blob2eda6adeb14e203d3c3ffe18144d7275d293ce0e
1 #!/bin/sh
3 test_description='reset can handle submodules'
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
8 test_submodule_switch "git reset --keep"
10 test_submodule_switch "git reset --merge"
12 test_submodule_forced_switch "git reset --hard"
14 test_done