Class CodeReviewCommit

java.lang.Object
org.eclipse.jgit.lib.AnyObjectId
org.eclipse.jgit.lib.ObjectId
org.eclipse.jgit.lib.ObjectIdOwnerMap.Entry
org.eclipse.jgit.revwalk.RevObject
org.eclipse.jgit.revwalk.RevCommit
com.google.gerrit.server.git.CodeReviewCommit
All Implemented Interfaces:
Serializable, Comparable<org.eclipse.jgit.lib.AnyObjectId>

public class CodeReviewCommit extends org.eclipse.jgit.revwalk.RevCommit implements Serializable
Extended commit entity with code review specific metadata.
See Also:
  • Field Details

    • ORDER

      public static final com.google.common.collect.Ordering<CodeReviewCommit> ORDER
      Default ordering when merging multiple topologically-equivalent commits.

      Operates only on these commits and does not take ancestry into account.

      Use this in preference to the default order, which comes from AnyObjectId and only orders on SHA-1.

  • Constructor Details

    • CodeReviewCommit

      public CodeReviewCommit(org.eclipse.jgit.lib.AnyObjectId id)
  • Method Details