summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d88acc9)
raw | patch | inline | side by side (parent: d88acc9)
author | Brandon Casey <drafnel@gmail.com> | |
Sat, 27 Aug 2011 00:59:26 +0000 (19:59 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Aug 2011 18:12:15 +0000 (11:12 -0700) |
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3905-stash-include-untracked.sh | patch | blob | history |
index adc25245b9df81fbd66cb1853333e17fab25812c..ca1a46cb1183d1cbdc091efe264348121ca20f45 100755 (executable)
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
'