Package com.google.gerrit.server.notedb
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 Summary
Constructors Constructor Description CommitDiff()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CommitRewriter.CommitDiff
create(org.eclipse.jgit.lib.ObjectId oldSha1, String commitDiff)
abstract String
diff()
Diff applied to the commit witholdSha1()
abstract org.eclipse.jgit.lib.ObjectId
oldSha1()
SHA1 of the overwritten commit
-
-
-
Method Detail
-
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
-
-