carlcarl/powerline-zsh — pull request #3 by borkweb (2013-03-08 13:55:00+00:00)
Title: Add support for identifying a git detached head

When working with remotes, it is nice to be able to detect/display when you are in a detached head. This change should address that — which also has the added benefit of reducing the git commands on non-headless branches by 1.