mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
untracked files don't mark a build as -dirty
This commit is contained in:
1 parent
241bcb273f
commit
502033590e
1 file changed
+1
-1
@@ -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