From 52f169ea3440eac1df07bca4ab9871840ce8f8af Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 14 Jun 2008 01:13:43 +0200 Subject: Tighten currentbranch match. --- make/git.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3