Class CommitRewriter.CommitDiff

java.lang.Object
com.google.gerrit.server.notedb.CommitRewriter.CommitDiff
Enclosing class:
CommitRewriter

public abstract static class CommitRewriter.CommitDiff extends Object
Diff result of a single commit rewrite
  • Constructor Details

    • CommitDiff

      public CommitDiff()
  • Method Details

    • create

      public static CommitRewriter.CommitDiff create(org.eclipse.jgit.lib.ObjectId oldSha1, String commitDiff)
    • oldSha1

      public abstract org.eclipse.jgit.lib.ObjectId oldSha1()
      SHA1 of the overwritten commit
    • diff

      public abstract String diff()
      Diff applied to the commit with oldSha1()