3 # Copyright (c) 2019 Johannes E Schindelin
6 test_description
='Test git stash in a worktree'
8 TEST_PASSES_SANITIZE_LEAK
=true
11 test_expect_success
'setup' '
12 test_commit initial &&
13 git worktree add wt &&
14 test_commit -C wt in-worktree
17 test_expect_success
'apply in subdirectory' '
21 echo modified >../initial.t &&
25 grep "\.\.\/initial\.t" wt/subdir/out