diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-06-14 01:13:43 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-06-14 01:13:43 +0200 |
commit | 52f169ea3440eac1df07bca4ab9871840ce8f8af (patch) | |
tree | 0901f64ca271bc3f02b6c00f689e0db5b21a9bf4 /make | |
parent | 2f1163e14125ab7e9733473f735f221eb9d1aaeb (diff) |
Tighten currentbranch match.
Diffstat (limited to 'make')
-rw-r--r-- | make/git.mk | 2 |
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: |