mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +02:00
* properly check if -unpushed should be appended in revision.inc
This commit is contained in:
parent
4401ef32bb
commit
3e3f99c328
@ -575,7 +575,7 @@ ifneq ($(wildcard ../.git),)
|
||||
ifneq ($(GIT),)
|
||||
GITDESCRIBE=$(shell $(GIT) describe --dirty)
|
||||
REVSTR:=$(word 2,$(subst -, ,$(GITDESCRIBE)))-$(word 3,$(subst -, ,$(GITDESCRIBE)))
|
||||
ifneq (git log @{u}..,)
|
||||
ifneq ($(shell $(GIT) log @{u}..),)
|
||||
REVSTR:=$(REVSTR)-unpushed
|
||||
endif
|
||||
ifneq ($(word 4,$(subst -, ,$(GITDESCRIBE))),)
|
||||
|
@ -315,7 +315,7 @@ ifneq ($(wildcard ../.git),)
|
||||
ifneq ($(GIT),)
|
||||
GITDESCRIBE=$(shell $(GIT) describe --dirty)
|
||||
REVSTR:=$(word 2,$(subst -, ,$(GITDESCRIBE)))-$(word 3,$(subst -, ,$(GITDESCRIBE)))
|
||||
ifneq (git log @{u}..,)
|
||||
ifneq ($(shell $(GIT) log @{u}..),)
|
||||
REVSTR:=$(REVSTR)-unpushed
|
||||
endif
|
||||
ifneq ($(word 4,$(subst -, ,$(GITDESCRIBE))),)
|
||||
|
Loading…
Reference in New Issue
Block a user