Merge pull request #3706 from Pyrohh/version_commit

Remove "Commit:" field from `--version` output
This commit is contained in:
Justin M. Keyes
2015-12-13 03:00:09 -05:00
3 changed files with 3 additions and 22 deletions

View File

@@ -37,9 +37,6 @@ char *Version = VIM_VERSION_SHORT;
char *longVersion = NVIM_VERSION_LONG;
char *longVersionWithDate = NVIM_VERSION_LONG \
" (compiled " __DATE__ " " __TIME__ ")";
#ifdef NVIM_VERSION_COMMIT
char *version_commit = "Commit: " NVIM_VERSION_COMMIT;
#endif
char *version_buildtype = "Build type: " NVIM_VERSION_BUILD_TYPE;
char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS;
@@ -1099,9 +1096,6 @@ void list_version(void)
// When adding features here, don't forget to update the list of
// internal variables in eval.c!
MSG(longVersionWithDate);
#ifdef NVIM_VERSION_COMMIT
MSG(version_commit);
#endif
MSG(version_buildtype);
MSG(version_cflags);