fix current_branch

This commit is contained in:
Sami Samhuri 2015-12-08 11:49:16 -08:00
parent ccbd1e6166
commit 47222b0764

View file

@ -3,7 +3,7 @@
set -e # bail on errors
function current_branch() {
git rev-parse --abbrev-ref HEAD
git rev-parse --abbrev-ref HEAD | sed -e 's/^heads\///'
}
ORIG_BRANCH=$(current_branch)