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