diff --git a/build/make/git.mak b/build/make/git.mak index f2e667b..e4526e4 100644 --- a/build/make/git.mak +++ b/build/make/git.mak @@ -1,4 +1,5 @@ BRANCH:=$(shell git branch --show-current) +PREFIX:=$(shell ruby -e 't, n = ARGV[0].split("/"); print "#{t}(#{n}):" unless t.nil?' $(BRANCH)) master: git checkout master @@ -35,7 +36,7 @@ amend: add # Commit the latest changes. commit: add - git commit -am "$(msg)" + git commit -am "$(PREFIX) $(msg)" # Push the latest changes. push: