robbyrussell/oh-my-zsh — pull request #2061 by apbarrero (2013-08-26 09:22:25+00:00)
Title: Git info: show tag instead of commit id if available.

Updated the implementation of git_prompt_info so that tag name
is shown when a tag points to the commit where HEAD points to
in detached mode.