composer/composer — pull request #1922 by Seldaek (2013-05-23 16:15:42+00:00)
Title: Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817

To make this mergeable we still need:

- review from @naderman
- confirmation from @lsmith77 that it fixes his issue (please try with a git install of composer see if it works for you without your patched up repos)