saltstack/salt — pull request #14774 by gtmanfred (2014-08-06 00:12:19+00:00)
Title: Remove grep from git.current_branch

Was there a reason that this did all the greps and the cut instead of using git's builtin rev-parse?

If not, then this works.

Daniel