]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t3903-stash.sh
Merge branch 'jl/maint-fix-test'
[git.git] / t / t3903-stash.sh
index d99f27a12f40d73094ef286a067f3c6771e61865..056bc2b2486ff4621aa0182f97ec149101877761 100755 (executable)
@@ -69,9 +69,9 @@ test_expect_success 'apply stashed changes (including index)' '
 test_expect_success 'unstashing in a subdirectory' '
        git reset --hard HEAD &&
        mkdir subdir &&
-       cd subdir &&
-       git stash apply &&
-       cd ..
+       (cd subdir &&
+       git stash apply
+       )
 '
 
 test_expect_success 'drop top stash' '