Skip to content

Commit c173be8

Browse files
committed
Merge pull request #16 from gnithin/master
Change current_branch for old Git versions support.
2 parents c134fe2 + b274ea6 commit c173be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-fire

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version() {
1111

1212
# Helpers.
1313
current_branch() {
14-
git symbolic-ref --short HEAD
14+
basename $(git symbolic-ref HEAD)
1515
}
1616

1717
current_epoch() {

0 commit comments

Comments
 (0)