summaryrefslogtreecommitdiff
path: root/t/t7406-submodule-update.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-21 21:03:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-21 21:03:10 (GMT)
commit28ed8d7be9363a19ea74626d5c84dffbfa959787 (patch)
tree06940bc0c3cd82504de4cb753dcecd7d5b0d2857 /t/t7406-submodule-update.sh
parent8115c9386c7ed23aa00b84f7693c5a885edb12f1 (diff)
parent75bf5e60e8c09075af1e4cd0d68a6d73fdf92c42 (diff)
downloadgit-28ed8d7be9363a19ea74626d5c84dffbfa959787.zip
git-28ed8d7be9363a19ea74626d5c84dffbfa959787.tar.gz
git-28ed8d7be9363a19ea74626d5c84dffbfa959787.tar.bz2
Merge branch 'we/submodule-update-prefix-output'
"git submodule update", when recursed into sub-submodules, did not acccumulate the prefix paths. * we/submodule-update-prefix-output: submodule update: when using recursion, show full path
Diffstat (limited to 't/t7406-submodule-update.sh')
-rwxr-xr-xt/t7406-submodule-update.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
index 4975ec0..1a3d20b 100755
--- a/t/t7406-submodule-update.sh
+++ b/t/t7406-submodule-update.sh
@@ -643,7 +643,8 @@ test_expect_success 'submodule update places git-dir in superprojects git-dir re
rm -rf super_update_r2 &&
git clone super_update_r super_update_r2 &&
(cd super_update_r2 &&
- git submodule update --init --recursive &&
+ git submodule update --init --recursive >actual &&
+ test_i18ngrep "Submodule path .submodule/subsubmodule.: checked out" actual &&
(cd submodule/subsubmodule &&
git log > ../../expected
) &&