--- t/t7400-submodule-basic.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh index bbcfc61..d321540 100755 --- a/t/t7400-submodule-basic.sh +++ b/t/t7400-submodule-basic.sh @@ -331,6 +331,12 @@ test_expect_success 'status should be "up-to-date" after update' ' grep "^ $rev1" list ' +test_expect_failure 'status should be "modified" if working dir deleted' ' + rm -rf init/* && + git submodule status >list && + grep "^+$rev1" list +' + test_expect_success 'checkout superproject with subproject already present' ' git checkout initial && git checkout master -- 1.7.5.3.686.g35b8 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html