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 <kubuxu@protonmail.ch>
Jakub Sztandera committed
Mar 7, 2019 at 00:42 UTC
c8c0c48e2db2bf5ca683f1305c0d2c69c858d1ea
1 file changed
+2
-1
mk/git.mk
+2
-1
@@ -1 +1,2 @@
1
-git-hash:=$(shell git rev-parse --short HEAD 2>/dev/null)
1
+git-hash:=$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null)
2
+