]> git.ipfire.org Git - thirdparty/git.git/blame - t/t7112-reset-submodule.sh
completion: improve __git_refs()'s in-code documentation
[thirdparty/git.git] / t / t7112-reset-submodule.sh
CommitLineData
8ef85694
JL
1#!/bin/sh
2
3test_description='reset can handle submodules'
4
5. ./test-lib.sh
6. "$TEST_DIRECTORY"/lib-submodule-update.sh
7
8test_submodule_switch "git reset --keep"
9
10test_submodule_switch "git reset --merge"
11
12test_submodule_forced_switch "git reset --hard"
13
14test_done