text: public virtual RevCommit ParseCommit(AnyObjectId id){RevObject c = Peel(ParseAny(id));if (!(c is RevCommit)){throw new IncorrectObjectTypeException(id.ToObjectId(), Constants.TYPE_COMMIT);}return (RevCommit)c;}