repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'sb/submodule-module-list-pathspec-fix'
[alt-git.git]
/
t
/
t7112-reset-submodule.sh
blob
2eda6adeb14e203d3c3ffe18144d7275d293ce0e
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