Skip to content

Commit 478a84a

Browse files
committed
Merge branch 'ch/t7450-recursive-clone-test-fix' into next
Test fix. * ch/t7450-recursive-clone-test-fix: t7450: inspect the correct path a broken code would write to
2 parents 365b52c + f3ef347 commit 478a84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7450-bad-git-dotfiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ test_expect_success SYMLINKS,!WINDOWS,!MINGW 'submodule must not checkout into d
401401
git -C repo commit -m submodule &&
402402
403403
git -c protocol.file.allow=always clone --recurse-submodules repo bad-clone &&
404-
! test -f "$PWD/foo" &&
404+
! test -f "$PWD/bad-clone/sub/foo" &&
405405
test -f $(printf "bad-clone/sub\r/post-checkout")
406406
'
407407

0 commit comments

Comments
 (0)