Skip to content
Snippets Groups Projects
Commit 1bcdaffb authored by Seth Falcon's avatar Seth Falcon
Browse files

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.
parent 35f8296a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment