vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 50f08b08021287874216a44ea69fe43344e4ed4b parent 0eba09409df2af1df39a5550c8c821f867f899cc Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 8 Oct 2015 08:48:15 +0200 build: always take revision from current branch Diffstat:
| M | config.mk | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk @@ -13,7 +13,7 @@ ifneq ($(GITTAG),) VERSION = ${GITTAG}.r${GITREVCOUNT}.g${GITHASH} else ifneq ($(GITHASH),) # we have no tags in git, so just use revision count an hash for now - GITREVCOUNT = $(shell git rev-list --count master) + GITREVCOUNT = $(shell git rev-list --count HEAD) VERSION = 0.r${GITREVCOUNT}.g${GITHASH} else # this is used when no git is available, e.g. for release tarball