esl/edown — pull request #22 by seth (2013-02-03 06:07:12+00:00)
Title: Use git rev-parse to obtain current branch name

Obtaining the current branch name using describe is roundabout and the
tokenization that includes '/' is broken for any branch with '/' in
its name (a common git practice). Using `git rev-parse --abbrev-ref
HEAD` seems to provide the current branch name in an easy to parse
fashion.