From 7347996b17f93be76e35362f8a3f6ed01555a65e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Sun, 8 May 2022 15:44:13 +0200 Subject: [PATCH] Use `git describe --long` as revision number --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ffcdf8..1c00c22 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export AS = yasm export CC = i686-elf-gcc QEMU = qemu-system-i386 -monitor stdio -GIT_REV = $(shell git rev-parse --short HEAD) +GIT_REV = $(shell git describe --long HEAD) CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\" -- 2.39.2