History

Test was inverted for locally modified version

Christian Jullien committed 3 years ago

Commit ffbf6c21 parent bdaccc21 file · +1 −1Browse files

Unified · Split

Makefile+1−1
@@ -245,7 +245,7 @@ FROM_GIT := $(shell git rev-parse >/dev/null 2>&1 && echo yes || echo no) · 244 unmodified lines
245 245
246ifeq ($(FROM_GIT),yes)246ifeq ($(FROM_GIT),yes)
247GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')247GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')
248GITLOCAL:=$(shell git diff --quiet && echo ' locally modified')248GITLOCAL:=$(shell git diff --quiet || echo ' locally modified')
249DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""249DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""
250endif250endif
251 251

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t