- java.lang.Object
-
- org.eclipse.jgit.internal.storage.commitgraph.GraphCommits
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphCommitsfromWalk(ProgressMonitor pm, Set<? extends ObjectId> wants, RevWalk walk)Prepare and create the commits forCommitGraphWriterfrom the RevWalk.Iterator<RevCommit>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
fromWalk
public static GraphCommits fromWalk(ProgressMonitor pm, @NonNull Set<? extends ObjectId> wants, @NonNull RevWalk walk) throws IOException
Prepare and create the commits forCommitGraphWriterfrom the RevWalk.- Parameters:
pm- progress monitor.wants- the list of wanted objects, writer walks commits starting at these. Must not benull.walk- the RevWalk to use. Must not benull.- Returns:
- the commits' collection which are used by the commit-graph writer. Never null.
- Throws:
IOException
-
-