projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
t0013: add a basic sha1 collision detection test
[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