From edd11e3fd28970aa0f79eafe1bb75285867268e7 Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 16 Dec 2014 11:46:38 +1100 Subject: [PATCH] Changed version number from 'svn' to 'git'. --- src/utils/constants.cpp | 2 +- src/utils/string_utils.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/constants.cpp b/src/utils/constants.cpp index 8198c673d..b740211c6 100644 --- a/src/utils/constants.cpp +++ b/src/utils/constants.cpp @@ -29,4 +29,4 @@ static const char* endianness_test_ptr = (const char*)&endianness_test; // in little-endian, byte 0 will be 0. in big endian, byte 0 will be 1 const bool IS_LITTLE_ENDIAN = (endianness_test_ptr[0] == 0); -const char STK_VERSION[] = "svn"; +const char STK_VERSION[] = "git"; diff --git a/src/utils/string_utils.cpp b/src/utils/string_utils.cpp index eab3747ee..8d1966308 100644 --- a/src/utils/string_utils.cpp +++ b/src/utils/string_utils.cpp @@ -696,10 +696,10 @@ namespace StringUtils */ int versionToInt(const std::string &version_string) { - // Special case: SVN - if(version_string=="SVN" || version_string=="svn") + // Special case: GIT + if(version_string=="GIT" || version_string=="git") { - // SVN version will be version 99.99.99i-rcJ + // GIT version will be version 99.99.99i-rcJ return 1000000*99 + 10000*99 + 100*99