summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18abc2d)
raw | patch | inline | side by side (parent: 18abc2d)
author | Kristian Høgsberg <krh@redhat.com> | |
Thu, 15 Nov 2007 14:49:58 +0000 (09:49 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Nov 2007 01:05:04 +0000 (17:05 -0800) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh | patch | blob | history |
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh
index e601028d02de80cf718f9b9567285f12e7468b26..ce83af3a02427af8c6a5fbea921a46ed5522b8b3 100755 (executable)
--- a/t/t7501-commit.sh
+++ b/t/t7501-commit.sh
diff expected current
'
+
+test_expect_success 'git commit <file> with dirty index' '
+ echo tacocat > elif &&
+ echo tehlulz > chz &&
+ git add chz &&
+ git commit elif -m "tacocat is a palindrome" &&
+ git show --stat | grep elif &&
+ git diff --cached | grep chz
+'
+
test_done