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
245245
246246 ifeq ($(FROM_GIT),yes)
247247 GITHASH:=$(shell git rev-parse --abbrev-ref HEAD):$(shell git rev-parse --short HEAD) $(shell git log -1 --pretty='format:%cI')
248−GITLOCAL:=$(shell git diff --quiet && echo ' locally modified')
248+GITLOCAL:=$(shell git diff --quiet || echo ' locally modified')
249249 DEF_GITHASH:= -DTCC_GITHASH="\"$(GITHASH)$(GITLOCAL)\""
250250 endif
251251

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