untracked files don't mark a build as -dirty

This commit is contained in:
feelfree69
2026-05-04 06:55:11 +02:00
parent 241bcb273f
commit 502033590e
+1 -1
View File
@@ -22,7 +22,7 @@ else
endif endif
GIT_VERSION := $(shell git rev-parse --short HEAD) GIT_VERSION := $(shell git rev-parse --short HEAD)
ifeq ($(shell git status --porcelain),) then ifeq ($(shell git status --porcelain --untracked-files=no),)
else else
GIT_VERSION := $(GIT_VERSION)-dirty GIT_VERSION := $(GIT_VERSION)-dirty
endif endif