public interface 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.
|
java.lang.String getRefName()
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, org.eclipse.jgit.errors.ConfigInvalidException, com.google.gwtorm.server.OrmException
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
org.eclipse.jgit.errors.ConfigInvalidException
com.google.gwtorm.server.OrmException