diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-13 12:36:43 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2016-01-06 17:24:21 -0500 |
commit | c6aa71605fac6fba19241f1ed11e706efeb26088 (patch) | |
tree | 46cc185fb9e6a907d959dcd2a3f61705eb1c3699 /src | |
parent | ec580da5f442b65cc3c2c05e95c133faa88c2589 (diff) | |
download | rneovim-c6aa71605fac6fba19241f1ed11e706efeb26088.tar.gz rneovim-c6aa71605fac6fba19241f1ed11e706efeb26088.tar.bz2 rneovim-c6aa71605fac6fba19241f1ed11e706efeb26088.zip |
build: Stop using __{DATE,TIME}__
Recording the compilation time modifies the source for dubious gain, and
interferes with reproducible builds [1].
[1] https://reproducible-builds.org/
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/version.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/version.c b/src/nvim/version.c index 0d8afc4e53..6919efe871 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -35,8 +35,6 @@ char *Version = VIM_VERSION_SHORT; char *longVersion = NVIM_VERSION_LONG; -char *longVersionWithDate = NVIM_VERSION_LONG \ - " (compiled " __DATE__ " " __TIME__ ")"; char *version_buildtype = "Build type: " NVIM_VERSION_BUILD_TYPE; char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS; @@ -1173,7 +1171,7 @@ void list_version(void) { // When adding features here, don't forget to update the list of // internal variables in eval.c! - MSG(longVersionWithDate); + MSG(longVersion); MSG(version_buildtype); MSG(version_cflags); |