summaryrefslogtreecommitdiff
path: root/make/git.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/git.mk')
-rw-r--r--make/git.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/git.mk b/make/git.mk
index b870f1b..332d82f 100644
--- a/make/git.mk
+++ b/make/git.mk
@@ -7,7 +7,7 @@ branches = $(master)
# local name of origin
origin = origin
-currentbranch := $(shell git branch | grep \* | awk '{ print $2 }')
+currentbranch := $(shell git branch | grep ^\* | awk '{ print $2 }')
noncurrentbranches = $(filter-out $(currentbranch),$(branches))
update: