From a5fac85727c0c64a53cbb91dab40225471cdd19d Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 27 Jun 2023 01:46:11 +0200 Subject: [PATCH] fix: Commit hash/branch in statistics being in wrong order --- main/source/init/tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/source/init/tasks.cpp b/main/source/init/tasks.cpp index d5f25bf18..63b7e55b2 100644 --- a/main/source/init/tasks.cpp +++ b/main/source/init/tasks.cpp @@ -84,7 +84,7 @@ namespace hex::init { { "uuid", uuid }, { "format_version", "1" }, { "imhex_version", versionString }, - { "imhex_commit", fmt::format("{}@{}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash()) }, + { "imhex_commit", fmt::format("{}@{}", ImHexApi::System::getCommitHash(true), ImHexApi::System::getCommitBranch()) }, { "install_type", ImHexApi::System::isPortableVersion() ? "Portable" : "Installed" }, { "os", ImHexApi::System::getOSName() }, { "os_version", ImHexApi::System::getOSVersion() },