You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user