Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit cc42d0d

Browse files
Merge branch 'enhancements/async-git-setup' into enhancements/git-setup-download
2 parents 63c4d2f + 020c6fc commit cc42d0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.Api/Installer/GitInstaller.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,22 +203,22 @@ private bool IsGitExtracted()
203203
{
204204
if (!installDetails.GitInstallPath.DirectoryExists())
205205
{
206-
Logger.Trace("{0} does not exist", installDetails.GitInstallPath);
206+
Logger.Warning("{0} does not exist", installDetails.GitInstallPath);
207207
return false;
208208
}
209209

210210
var fileListMD5 = environment.FileSystem.CalculateFolderMD5(installDetails.GitInstallPath, false);
211211
if (!fileListMD5.Equals(GitInstallDetails.FileListMD5, StringComparison.InvariantCultureIgnoreCase))
212212
{
213-
Logger.Trace("MD5 {0} does not match expected {1}", fileListMD5, GitInstallDetails.FileListMD5);
213+
Logger.Warning("Path {0} has MD5 {1} expected {2}", installDetails.GitInstallPath, fileListMD5, GitInstallDetails.FileListMD5);
214214
return false;
215215
}
216216

217217
var calculateMd5 = environment.FileSystem.CalculateFileMD5(installDetails.GitLfsExecPath);
218218
var md5 = environment.IsWindows ? GitInstallDetails.WindowsGitLfsExecutableMD5 : GitInstallDetails.MacGitLfsExecutableMD5;
219219
if (!md5.Equals(calculateMd5, StringComparison.InvariantCultureIgnoreCase))
220220
{
221-
Logger.Trace("{0} has MD5 {1} expected {2}", installDetails.GitLfsExecPath, calculateMd5, md5);
221+
Logger.Warning("Path {0} has MD5 {1} expected {2}", installDetails.GitLfsExecPath, calculateMd5, md5);
222222
return false;
223223
}
224224

0 commit comments

Comments
 (0)