public class DeleteChangeMessageRewriter extends java.lang.Object implements NoteDbRewriter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRefName()
Gets the name of the target ref which will be rewritten.
|
org.eclipse.jgit.lib.ObjectId |
rewriteCommitHistory(org.eclipse.jgit.revwalk.RevWalk revWalk,
org.eclipse.jgit.lib.ObjectInserter inserter,
org.eclipse.jgit.lib.ObjectId currTip)
Rewrites the commit history.
|
public java.lang.String getRefName()
NoteDbRewriter
getRefName
in interface NoteDbRewriter
public org.eclipse.jgit.lib.ObjectId rewriteCommitHistory(org.eclipse.jgit.revwalk.RevWalk revWalk, org.eclipse.jgit.lib.ObjectInserter inserter, org.eclipse.jgit.lib.ObjectId currTip) throws java.io.IOException
NoteDbRewriter
rewriteCommitHistory
in interface NoteDbRewriter
revWalk
- a RevWalk
instance.inserter
- a ObjectInserter
instance.currTip
- the ObjectId
of the ref's tip commit.ObjectId
of the ref's new tip commit.java.io.IOException