From 88cfba642f6fa92f5ded2460380c2091acd7b346 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Thu, 8 Feb 2018 17:03:58 +0100 Subject: [PATCH] Do not check "git --version" every time This fixes a regression of commit 37a19f096479c507833cc0e5fbea4c9bfdd92bb7. Signed-off-by: Sven Strickroth --- src/TortoiseProc/AppUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TortoiseProc/AppUtils.cpp b/src/TortoiseProc/AppUtils.cpp index 35da2138e..05d6f05e8 100644 --- a/src/TortoiseProc/AppUtils.cpp +++ b/src/TortoiseProc/AppUtils.cpp @@ -3371,7 +3371,7 @@ int CAppUtils::GetMsysgitVersion() } } - regTime = time&0xFFFFFFFF; + regTime = (DWORD)CGit::filetime_to_time_t(time); regVersion = ver; g_Git.ms_LastMsysGitVersion = ver; -- 2.11.4.GIT