From 87c536b698eccc697262e6b4f139171eb37e90d8 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 9 Dec 2024 10:16:56 +0100 Subject: [PATCH] this does not work on windoze builds rev-parse seems to do the job tho? --- comptime.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comptime.bat b/comptime.bat index 4d7c8a366..399c5e527 100644 --- a/comptime.bat +++ b/comptime.bat @@ -14,7 +14,7 @@ goto filwri set GIT=%2 if "%GIT%"=="" set GIT=git for /f "usebackq" %%s in (`%GIT% rev-parse --abbrev-ref HEAD`) do @set BRA=%%s -for /f "usebackq" %%s in (`%GIT% show --pretty=format:"%h %s" -s HEAD`) do @set REV=%%s +for /f "usebackq" %%s in (`%GIT% rev-parse HEAD`) do @set REV=%%s set REV=%REV:~0,8% goto filwri