private int RunFromCommitish(string commitish)
{
// Warn, based on core.autocrlf or core.safecrlf value?
// -- autocrlf=true or safecrlf=true: TFS may have CRLF where git has LF
var parents = _globals.Repository.GetLastParentTfsCommits(commitish);
if (parents.IsEmpty())
throw new GitTfsException("No TFS parents found to compare!");
int foundDiff = GitTfsExitCodes.OK;
foreach (var parent in parents)
{
foundDiff = Math.Max(foundDiff, _verifier.Verify(parent, IgnorePathCaseMismatch));
}
return foundDiff;
}