|
@@ -501,6 +501,9 @@ ifneq ($(wildcard ../.git),)
|
|
|
ifneq ($(GIT),)
|
|
|
GITDESCRIBE=$(shell $(GIT) describe --dirty)
|
|
|
REVSTR:=$(word 2,$(subst -, ,$(GITDESCRIBE)))-$(word 3,$(subst -, ,$(GITDESCRIBE)))
|
|
|
+ifneq (git log @{u}..,)
|
|
|
+REVSTR:=$(REVSTR)-unpushed
|
|
|
+endif
|
|
|
ifneq ($(word 4,$(subst -, ,$(GITDESCRIBE))),)
|
|
|
REVSTR:=$(REVSTR)-$(word 4,$(subst -, ,$(GITDESCRIBE)))
|
|
|
endif
|