t7512: test "detached from" as well
commit46ab7d46ca8ae98411450f077b3023e0b7e03ea9
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Jun 2013 16:52:25 +0000 (17 09:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jun 2013 16:56:32 +0000 (17 09:56 -0700)
treee15e7ec1ee46a16fe8c28ee8a73f40565cfd91f1
parentedca4152560522a431a51fc0a06147fc680b5b18
t7512: test "detached from" as well

b397ea4863a1 (status: show more info than "currently not on any
branch", 2013-03-13) wanted to make sure that after a checkout to
detach HEAD, the user can see where the HEAD was originally detached
from.  The last test added by that commit to t7512 shows one
example, immediately after HEAD is detached.  Enhance that test to
show "detached HEAD from" form that should be shown when the user
further resetted to another commit.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7512-status-help.sh