From 0f395a175603c63348ee6038d1c407e5aaa1d36e Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 11 Mar 2017 23:34:19 -0300 Subject: [PATCH] =?UTF-8?q?use=20=E2=80=9Egit=20describe=E2=80=9C=20instea?= =?UTF-8?q?d=20of=20=E2=80=9Egit=20rev-parse=E2=80=9C=20to=20set=20git=20r?= =?UTF-8?q?evision=20in=20version=20string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c8421d81..8ac90733e 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ ifdef CI CFLAGS += -D_VARIANT='"-ci-$(VARIANT)"' else GIT = $(shell type -p git) - GIT_REV = $(shell git rev-parse --short HEAD) + GIT_REV = $(shell git describe --tags --dirty) ifneq ($(GIT),) CFLAGS += -D_GIT_REV='"$(GIT_REV)"' endif