From c8c0c48e2db2bf5ca683f1305c0d2c69c858d1ea Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 7 Mar 2019 00:42:19 +0100 Subject: [PATCH] mk: change git-hash command to include information about modifications With this command we will get hash information as well as information if build was made using uncommited files. License: MIT Signed-off-by: Jakub Sztandera --- mk/git.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/git.mk b/mk/git.mk index c56b8ee3750..6f19f43deb4 100644 --- a/mk/git.mk +++ b/mk/git.mk @@ -1 +1,2 @@ -git-hash:=$(shell git rev-parse --short HEAD 2>/dev/null) +git-hash:=$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null) +