From 9f98a8b43accad9f48af3a8811d1325b3ece12cc Mon Sep 17 00:00:00 2001 From: "Teodor M. Ionita" Date: Mon, 7 Aug 2023 11:50:58 +0300 Subject: [PATCH] Fix time-stamping to work with GPG signed commits If HEAD is pointing to a signed commit, the result of the expression GET_CURRENT_COMMIT_TIMESTAMP will include GPG info, which in turn will end up in .update.timestamp for the current project. --- makefiles/variables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/variables.mk b/makefiles/variables.mk index 586bad8..6519110 100644 --- a/makefiles/variables.mk +++ b/makefiles/variables.mk @@ -96,7 +96,7 @@ else NPROC_CMD := nproc endif -GET_CURRENT_COMMIT_TIMESTAMP := git log --pretty=format:%cd -n 1 $(GIT_TIMESTAMP_ARG) +GET_CURRENT_COMMIT_TIMESTAMP := git log --no-show-signature --pretty=format:%cd -n 1 $(GIT_TIMESTAMP_ARG) UPDATE_TIMESTAMP := .update.timestamp ifeq ($(BUILD_SYSTEM_DIR),)