public int Run()
{
if (!VerifyAllRemotes)
return Run("HEAD");
int foundDiff = GitTfsExitCodes.OK;
foreach (var remote in _globals.Repository.ReadAllTfsRemotes())
{
Trace.TraceInformation("Verifying remote '{0}' => '{1}' ...", remote.Id, remote.TfsRepositoryPath);
foundDiff = Math.Max(foundDiff, RunFromCommitish(remote.RemoteRef));
}
return foundDiff;
}