From: David Griffith Date: Sun, 2 Apr 2023 04:30:20 +0000 (-0700) Subject: Set length of short hash to 8 characters because Gitlab uses 8. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=193e2e5524942ffc1aef7f769837ea3f76aa9b27;p=liskon_frotz.git Set length of short hash to 8 characters because Gitlab uses 8. --- diff --git a/Makefile b/Makefile index 41d5ab7..a721063 100644 --- a/Makefile +++ b/Makefile @@ -258,7 +258,7 @@ RELEASE_NOTES = "Official release." GIT_DIR ?= .git ifneq ($(and $(wildcard $(GIT_DIR)),$(shell which git)),) GIT_HASH = $(shell git rev-parse HEAD) -GIT_HASH_SHORT = $(shell git rev-parse --short HEAD) +GIT_HASH_SHORT = $(shell git rev-parse --short=8 HEAD) GIT_DATE = $(shell git show -s --format=%ci) else GIT_HASH = $Format:%H$