From c269e618cf53634d3cf270273ab1b0354dc3c119 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 2 May 2020 01:07:34 +0300 Subject: Drop unused GIT_COMMIT_DATE macro --- src/clientversion.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/clientversion.cpp b/src/clientversion.cpp index cd8eebc760..993967a180 100644 --- a/src/clientversion.cpp +++ b/src/clientversion.cpp @@ -24,11 +24,7 @@ const std::string CLIENT_NAME("Satoshi"); // - "// No build information available", if proper git information is not available #endif -//! git will put "#define GIT_ARCHIVE 1" on the next line inside archives. $Format:%n#define GIT_ARCHIVE 1$ -#ifdef GIT_ARCHIVE -#define GIT_COMMIT_ID "$Format:%H$" -#define GIT_COMMIT_DATE "$Format:%cD$" -#endif +//! git will put "#define GIT_COMMIT_ID ..." on the next line inside archives. $Format:%n#define GIT_COMMIT_ID "%H"$ #ifdef BUILD_GIT_TAG #define BUILD_DESC BUILD_GIT_TAG -- cgit v1.2.3