Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
EOF
test_expect_success 'stash save --include-untracked cleaned the untracked files' '
- git status --porcelain >actual
+ git status --porcelain >actual &&
test_cmp expect actual
'
test_expect_success 'stash pop after save --include-untracked leaves files untracked again' '
git stash pop &&
- git status --porcelain >actual
+ git status --porcelain >actual &&
test_cmp expect actual
'
test_expect_success 'stash save -u can stash with only untracked files different' '
echo 4 > file4 &&
- git stash -u
+ git stash -u &&
test "!" -f file4
'