summaryrefslogtreecommitdiff
path: root/t/t7112-reset-submodule.sh
blob: 2eda6adeb14e203d3c3ffe18144d7275d293ce0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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