mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
untracked files don't mark a build as -dirty
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user