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