mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01:00
15 lines
264 B
Bash
15 lines
264 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
test_description='reset can handle submodules'
|
||
|
|
||
|
. ./test-lib.sh
|
||
|
. "$TEST_DIRECTORY"/lib-submodule-update.sh
|
||
|
|
||
|
test_submodule_switch "git reset --keep"
|
||
|
|
||
|
test_submodule_switch "git reset --merge"
|
||
|
|
||
|
test_submodule_forced_switch "git reset --hard"
|
||
|
|
||
|
test_done
|