Merge pull request #990 from Kijewski/allow-shallow-clone
Make: do not spam error messages on shallow clones
This commit is contained in:
commit
47d3f8e7d5
@ -9,7 +9,7 @@ endif
|
||||
OBJ = $(SRC:%.c=$(BINDIR)$(MODULE)/%.o)
|
||||
DEP = $(SRC:%.c=$(BINDIR)$(MODULE)/%.d)
|
||||
|
||||
GIT_STRING := $(shell git describe --abbrev=4 --dirty=-`hostname`)
|
||||
GIT_STRING := $(shell git describe --always --abbrev=4 --dirty=-`hostname`)
|
||||
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||
ifeq ($(strip $(GIT_BRANCH)),master)
|
||||
GIT_VERSION = $(GIT_STRING)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user