summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-11-09 12:51:15 -0500
committerJeff King <peff@peff.net>2012-11-09 12:51:15 -0500
commitb0b00a3ee43b4813eb85728a482500f6422499fd (patch)
tree7afa582b33da2c45d046f3dd8ff7df30b336cf37 /t
parent19fb61369583410a4f79dbc065b4dc8125236c0b (diff)
parente15bec0ec3b763449e418c12a5f2e128560c556d (diff)
downloadgit-b0b00a3ee43b4813eb85728a482500f6422499fd.tar.gz
Merge branch 'ph/maint-submodule-status-fix'
Cleans up some leftover bits from an earlier submodule change. * ph/maint-submodule-status-fix: submodule status: remove unused orig_* variables t7407: Fix recursive submodule test
Diffstat (limited to 't')
-rwxr-xr-xt/t7407-submodule-foreach.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh
index 9b69fe2e14..107b4b7c45 100755
--- a/t/t7407-submodule-foreach.sh
+++ b/t/t7407-submodule-foreach.sh
@@ -226,14 +226,14 @@ test_expect_success 'test "status --recursive"' '
test_cmp expect actual
'
-sed -e "/nested1 /s/.*/+$nested1sha1 nested1 (file2~1)/;/sub[1-3]/d" < expect > expect2
+sed -e "/nested2 /s/.*/+$nested2sha1 nested1\/nested2 (file2~1)/;/sub[1-3]/d" < expect > expect2
mv -f expect2 expect
test_expect_success 'ensure "status --cached --recursive" preserves the --cached flag' '
(
cd clone3 &&
(
- cd nested1 &&
+ cd nested1/nested2 &&
test_commit file2
) &&
git submodule status --cached --recursive -- nested1 > ../actual