Sep.Git.Tfs.Commands.Verify.RunFromCommitish C# (CSharp) Method

RunFromCommitish() private method

private RunFromCommitish ( string commitish ) : int
commitish string
return int
        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;
        }