2013-03-15 02:46 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
+ enabled git revision detection instead of svn
+ added detection for locally modified source code with git
* bin/commit.hb
+ process 'T' git change status
This commit is contained in:
@@ -10,6 +10,14 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2013-03-15 02:46 UTC+0100 Viktor Szakats (harbour syenar.net)
|
||||
* config/global.mk
|
||||
+ enabled git revision detection instead of svn
|
||||
+ added detection for locally modified source code with git
|
||||
|
||||
* bin/commit.hb
|
||||
+ process 'T' git change status
|
||||
|
||||
2013-03-14 18:36 UTC+0100 Viktor Szakats (harbour syenar.net)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! fixed to not issue warning about missing sign tool
|
||||
|
||||
@@ -169,6 +169,7 @@ STATIC FUNCTION DoctorChanges( cVCS, aChanges )
|
||||
EXIT
|
||||
CASE "M"
|
||||
CASE "R"
|
||||
CASE "T"
|
||||
CASE "U"
|
||||
cStart := "*"
|
||||
EXIT
|
||||
|
||||
@@ -1739,17 +1739,21 @@ ifeq ($(HB_INIT_DONE),)
|
||||
$(info ! HB_INSTALL_PREFIX automatically set to: $(HB_INSTALL_PREFIX))
|
||||
endif
|
||||
ifeq ($(ROOT),./)
|
||||
ifneq ($(call find_in_path,svnversion),)
|
||||
_tmp := $(shell svnversion .)
|
||||
ifneq ($(findstring M,$(_tmp)),)
|
||||
$(info ! === WARNING: Locally modified source code ===)
|
||||
endif
|
||||
$(info ! REVISION: $(_tmp))
|
||||
endif
|
||||
# ifneq ($(call find_in_path,git),)
|
||||
# _tmp := $(shell git rev-parse --short HEAD)
|
||||
# ifneq ($(call find_in_path,svnversion),)
|
||||
# _tmp := $(shell svnversion .)
|
||||
# ifneq ($(findstring M,$(_tmp)),)
|
||||
# $(info ! === WARNING: Locally modified source code ===)
|
||||
# endif
|
||||
# $(info ! REVISION: $(_tmp))
|
||||
# endif
|
||||
ifneq ($(call find_in_path,git),)
|
||||
_tmp := $(shell git diff --name-only)
|
||||
ifneq ($(_tmp),)
|
||||
$(info ! === WARNING: Locally modified source code ===)
|
||||
endif
|
||||
_tmp := $(shell git rev-parse --short HEAD)
|
||||
$(info ! REVISION: $(_tmp))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user