Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t7112-reset-submodule.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t7112-reset-submodule.sh` 20 lines ยท 422 bytes Raw Blame History 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 KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1 9 10 test_submodule_switch_recursing_with_args "reset --keep" 11 12 test_submodule_forced_switch_recursing_with_args "reset --hard" 13 14 test_submodule_switch "reset --keep" 15 16 test_submodule_switch "reset --merge" 17 18 test_submodule_forced_switch "reset --hard" 19 20 test_done