From 193e2e5524942ffc1aef7f769837ea3f76aa9b27 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Sat, 1 Apr 2023 21:30:20 -0700 Subject: [PATCH] Set length of short hash to 8 characters because Gitlab uses 8. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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$ -- 2.34.1