summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd42c2f)
raw | patch | inline | side by side (parent: dd42c2f)
author | Nanako Shiraishi <nanako3@lavabit.com> | |
Sun, 17 May 2009 02:43:08 +0000 (11:43 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 May 2009 02:49:25 +0000 (19:49 -0700) |
Signed-off-by: しらいしななこ <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7201-co.sh | patch | blob | history |
diff --git a/t/t7201-co.sh b/t/t7201-co.sh
index bdb808af1aefae97c297f7845a8cd3b595404e89..ebfd34df36068f8808406a98d371731fb85012c4 100755 (executable)
--- a/t/t7201-co.sh
+++ b/t/t7201-co.sh
'
+test_expect_success 'switch out of non-branch' '
+ git reset --hard master &&
+ git checkout master^0 &&
+ echo modified >one &&
+ test_must_fail git checkout renamer 2>error.log &&
+ ! grep "^Previous HEAD" error.log
+'
+
test_done