You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
264 B

#!/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