klaussilveira/gitlist — pull request #79 by attiks (2012-07-13 14:50:23+00:00)
Title: better Head detection if refs/heads is pointing to non-existing master

Better detection of head, making sure that master actually exists before returning it.