Added logging when the commit reuse optimization works

This commit is contained in:
Jordan Brown
2020-05-25 16:34:28 -04:00
parent b450aa2b54
commit b8d17d13aa
@@ -718,6 +718,7 @@ namespace Tgstation.Server.Host.Controllers
if (revInfoWereLookingFor != null)
{
// goteem
Logger.LogDebug("Reusing existing SHA {0}...", revInfoWereLookingFor.CommitSha);
await repo.ResetToSha(revInfoWereLookingFor.CommitSha, NextProgressReporter(), cancellationToken).ConfigureAwait(false);
lastRevisionInfo = revInfoWereLookingFor;
}