checkout: fix bug with --to and relative HEAD
[git] / t / t1013-read-tree-submodule.sh
1 #!/bin/sh
2
3 test_description='read-tree can handle submodules'
4
5 . ./test-lib.sh
6 . "$TEST_DIRECTORY"/lib-submodule-update.sh
7
8 test_submodule_switch "git read-tree -u -m"
9
10 test_submodule_forced_switch "git read-tree -u --reset"
11
12 test_done