aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-02 01:07:34 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-04 19:53:58 +0300
commitc269e618cf53634d3cf270273ab1b0354dc3c119 (patch)
treed236c179795d597d5d183f0d9c81637e2de781f1
parent8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c (diff)
downloadbitcoin-c269e618cf53634d3cf270273ab1b0354dc3c119.tar.xz
Drop unused GIT_COMMIT_DATE macro
-rw-r--r--src/clientversion.cpp6
1 files changed, 1 insertions, 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