From 61d6e29951ac5d08aa7e0a5cfb2d3731003ed12c Mon Sep 17 00:00:00 2001 From: David Roberts Date: Sat, 20 Oct 2018 18:50:27 +0100 Subject: [PATCH] Debugging uncommitted change found by lib/ver/Makefile Causes version to say "based on" --- lib/ver/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ver/Makefile b/lib/ver/Makefile index ee223ae59e..10e3774713 100644 --- a/lib/ver/Makefile +++ b/lib/ver/Makefile @@ -51,6 +51,9 @@ include $(CPP_SRC_HOME)/mk/staticlib.mk .PHONY: force CBuildInfo.cc: force + git update-index -q --refresh > /dev/null + git diff-index HEAD -- + false @sed "s/@build.year@/$(BUILD_YEAR)/" < CBuildInfo.cc.$(TEMPLATE) \ | sed "s/@warning.comment@/DO NOT EDIT THIS FILE - instead edit BOTH templates/" \ | sed "s/@user.name@/$(USER_NAME)/" \