X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3903-stash.sh;h=9a9a250d2c6bad80745b7ebd2df7ac947d30b521;hb=7481ebe9918771a9269c7fd0e91e855f18f2bc52;hp=392ac1c5c5ff9edfe9bd96abb302376387f42ce8;hpb=150937c42591b0e9fb6c17f96c459d57b5f3bfdb;p=git.git diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh index 392ac1c5c..9a9a250d2 100755 --- a/t/t3903-stash.sh +++ b/t/t3903-stash.sh @@ -66,4 +66,11 @@ test_expect_success 'apply stashed changes (including index)' ' test 1 = $(git show HEAD:file) ' +test_expect_success 'unstashing in a subdirectory' ' + git reset --hard HEAD && + mkdir subdir && + cd subdir && + git stash apply +' + test_done