projects
/
platform
/
upstream
/
git.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.8.0
[platform/upstream/git.git]
/
t
/
t7112-reset-submodule.sh
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
test_submodule_switch "git reset --keep"
9
10
test_submodule_switch "git reset --merge"
11
12
test_submodule_forced_switch "git reset --hard"
13
14
test_done