X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1501-worktree.sh;h=f6a6f839a18de4c3775ea965f164d0d20f2bbe9b;hb=024ab976fffdc1d78b6d0b15e261b52f3a5d594b;hp=27dc6c55d5f50a7fd30388b60230482bad6be2d8;hpb=cc137194519a8ddbc0514da088fb012bea40df51;p=git.git diff --git a/t/t1501-worktree.sh b/t/t1501-worktree.sh index 27dc6c55d..f6a6f839a 100755 --- a/t/t1501-worktree.sh +++ b/t/t1501-worktree.sh @@ -92,13 +92,6 @@ cd sub/dir || exit 1 test_rev_parse 'in repo.git/sub/dir' false true true sub/dir/ cd ../../../.. || exit 1 -test_expect_success 'detecting gitdir when cwd is in a subdir of gitdir' ' - (expected=$(pwd)/repo.git && - cd repo.git/refs && - unset GIT_DIR && - test "$expected" = "$(git rev-parse --git-dir)") -' - test_expect_success 'repo finds its work tree' ' (cd repo.git && : > work/sub/dir/untracked &&