summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-06-01 13:51:10 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-06-01 13:52:58 +0200
commitdc981d8af72a1e9b3af72a8a32235696205cc9a0 (patch)
tree879a4547295b323a338e615f2a1db50940ec7865 /main
parentcfb9709c10483f7f58a8b96248c23d0a5f1d5ad7 (diff)
Display longer Git hashes in engine version dialogs
Due to the high number of commits in the Godot repository, 7-character hashes were starting to become occasionally ambiguous. In contrast, 9-character hashes are currently unambiguous for all commits.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 8c742c0f93..a01d1abe43 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -161,7 +161,7 @@ static String unescape_cmdline(const String &p_str) {
static String get_full_version_string() {
String hash = String(VERSION_HASH);
if (hash.length() != 0)
- hash = "." + hash.left(7);
+ hash = "." + hash.left(9);
return String(VERSION_FULL_BUILD) + hash;
}