summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-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: