vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 41e9d0062354ffd3c051e4b4d25f9468e13874ec parent e9464bf39dc67dfbd3a5af1d1b84b82cbd4e282e Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 8 Nov 2016 09:14:22 +0100 build: make `vis -v` version output more robust The `git describe` command fails in shallow checked out git repositories which do not include the tag information. At least include the git short hash. Diffstat:
| M | Makefile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -11,7 +11,7 @@ PREFIX ?= /usr/local SHAREPREFIX ?= ${PREFIX}/share MANPREFIX ?= ${PREFIX}/man -VERSION = $(shell git describe 2>/dev/null || echo "0.2") +VERSION = $(shell git describe --always 2>/dev/null || echo "0.2") CONFIG_LUA ?= 1 CONFIG_ACL ?= 0