Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/git-dir-lookup' into maint
[gitweb.git]
/
t
/
t7406-submodule-update.sh
diff --git
a/t/t7406-submodule-update.sh
b/t/t7406-submodule-update.sh
index 33b292b8a8e992c98774ad6e51270a9babc7e6de..5b97222c48a15dff018cb814ca14c59ed0ee91a2 100755
(executable)
--- a/
t/t7406-submodule-update.sh
+++ b/
t/t7406-submodule-update.sh
@@
-611,4
+611,12
@@
test_expect_success 'submodule update places git-dir in superprojects git-dir re
)
'
+test_expect_success 'submodule add properly re-creates deeper level submodules' '
+ (cd super &&
+ git reset --hard master &&
+ rm -rf deeper/ &&
+ git submodule add ../submodule deeper/submodule
+ )
+'
+
test_done