public interface TreeModification
Modifier and Type | Method and Description |
---|---|
java.util.List<org.eclipse.jgit.dircache.DirCacheEditor.PathEdit> |
getPathEdits(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.revwalk.RevCommit baseCommit)
Returns a list of
PathEdit s which are necessary in order to achieve the desired
modification of the Git tree. |
java.util.List<org.eclipse.jgit.dircache.DirCacheEditor.PathEdit> getPathEdits(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.revwalk.RevCommit baseCommit) throws java.io.IOException
PathEdit
s which are necessary in order to achieve the desired
modification of the Git tree. The order of the PathEdit
s can be crucial and hence
shouldn't be changed.repository
- the affected Git repositorybaseCommit
- the commit to whose tree this modification is appliedPathEdit
sjava.io.IOException
- if problems arise when accessing the repository