Class CodeReviewCommit

  • All Implemented Interfaces:
    Serializable, Comparable<org.eclipse.jgit.lib.AnyObjectId>

    public class CodeReviewCommit
    extends org.eclipse.jgit.revwalk.RevCommit
    Extended commit entity with code review specific metadata.
    See Also:
    Serialized Form
    • Field Detail

      • 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 Detail

      • CodeReviewCommit

        public CodeReviewCommit​(org.eclipse.jgit.lib.AnyObjectId id)