X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3903-stash.sh;h=9a9a250d2c6bad80745b7ebd2df7ac947d30b521;hb=09fba7a59d38d1cafaf33eadaf1d409c4113b30c;hp=392ac1c5c5ff9edfe9bd96abb302376387f42ce8;hpb=f8db7884286232274c8e7c7d82a35a2478b097d3;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