fix current_branch
This commit is contained in:
parent
ccbd1e6166
commit
47222b0764
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
set -e # bail on errors
|
set -e # bail on errors
|
||||||
|
|
||||||
function current_branch() {
|
function current_branch() {
|
||||||
git rev-parse --abbrev-ref HEAD
|
git rev-parse --abbrev-ref HEAD | sed -e 's/^heads\///'
|
||||||
}
|
}
|
||||||
|
|
||||||
ORIG_BRANCH=$(current_branch)
|
ORIG_BRANCH=$(current_branch)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue