composer/composer — pull request #798 by cs278 (2012-06-14 10:08:41+00:00)
Title: Ensure composer works with a detached head

I've occasionally encountered issues with Composer being run from a detached head, I've added a unit test to ensure detached head produces the correct `dev-` version number.