aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-06 17:57:44 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-06 17:57:44 -0500
commit2d39eea9f06b0cdbf9e6a6c31204c3d31235c39d (patch)
tree46cc185fb9e6a907d959dcd2a3f61705eb1c3699
parentec580da5f442b65cc3c2c05e95c133faa88c2589 (diff)
parentc6aa71605fac6fba19241f1ed11e706efeb26088 (diff)
downloadrneovim-2d39eea9f06b0cdbf9e6a6c31204c3d31235c39d.tar.gz
rneovim-2d39eea9f06b0cdbf9e6a6c31204c3d31235c39d.tar.bz2
rneovim-2d39eea9f06b0cdbf9e6a6c31204c3d31235c39d.zip
Merge pull request #3952 from Pyrohh/repro-builds
build: Stop using __{DATE,TIME}__
-rw-r--r--runtime/doc/various.txt22
-rw-r--r--src/nvim/version.c4
2 files changed, 10 insertions, 16 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index d810e1ab37..9e4104bf92 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -272,19 +272,15 @@ g8 Print the hex values of the bytes used in the
:!! Repeat last ":!{cmd}".
*:ve* *:version*
-:ve[rsion] Print the version number of the editor. If the
- compiler used understands "__DATE__" the compilation
- date is mentioned. Otherwise a fixed release-date is
- shown.
- The following lines contain information about which
- features were enabled when Vim was compiled. When
- there is a preceding '+', the feature is included,
- when there is a '-' it is excluded. To change this,
- you have to edit feature.h and recompile Vim.
- To check for this in an expression, see |has()|.
- Here is an overview of the features.
- The first column shows the smallest version in which
- they are included:
+:ve[rsion] Print the version number of the editor. The following
+ lines contain information about which features were
+ enabled when Vim was compiled. When there is a
+ preceding '+', the feature is included, when there is
+ a '-' it is excluded. To change this, you have to
+ edit feature.h and recompile Vim. To check for this
+ in an expression, see |has()|. Here is an overview of
+ the features. The first column shows the smallest
+ version in which they are included:
T tiny
S small
N normal
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);