diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-31 22:01:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-31 22:01:16 -0800 |
commit | 412a79f4cb5e660a2f1ba550363c20ae5f443a86 (patch) | |
tree | af666692d64a81cdb1b1e27d78b6a16a69123f71 /t | |
parent | Merge branch 'tr/grep-l-with-decoration' (diff) | |
parent | submodule add: fix breakage when re-adding a deep submodule (diff) | |
download | tgif-412a79f4cb5e660a2f1ba550363c20ae5f443a86.tar.xz |
Merge branch 'jl/submodule-re-add'
* jl/submodule-re-add:
submodule add: fix breakage when re-adding a deep submodule
Diffstat (limited to 't')
-rwxr-xr-x | t/t7406-submodule-update.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index 33b292b8a8..5b97222c48 100755 --- 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 |