public class DeleteChangeMessageRewriter extends Object implements NoteDbRewriter
Modifier and Type | Method and Description |
---|---|
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 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 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.IOException