Uses of Class
org.eclipse.jgit.revwalk.RevCommit
Packages that use RevCommit
Package
Description
High-level API commands (the porcelain of JGit).
Computing blame/annotate information of files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
Building/rendering revision graphs.
Walking revision graphs (commit history).
Filters for use in revision walking.
Transport (fetch/push) for different protocols.
Utility classes.
-
Uses of RevCommit in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return RevCommitModifier and TypeMethodDescriptionCommitCommand.call()RevertCommand.call()StashCreateCommand.call()RebaseResult.getCurrentCommit()Get the current commit if status isRebaseResult.Status.STOPPED, otherwisenullCherryPickResult.getNewHead()Get the new head after this cherry-pickRebaseCommand.tryFastForward(RevCommit newCommit) Check if we can fast-forward and returns the new head if it is possibleMethods in org.eclipse.jgit.api that return types with arguments of type RevCommitMethods in org.eclipse.jgit.api with parameters of type RevCommitModifier and TypeMethodDescriptionCherryPickCommitMessageProvider.getCherryPickedCommitMessage(RevCommit srcCommit) CheckoutCommand.setStartPoint(RevCommit startCommit) Set the commit that should be checked out.CreateBranchCommand.setStartPoint(RevCommit startPoint) Set the start pointRebaseCommand.setUpstream(RevCommit upstream) Set upstreamRevCommitRebaseCommand.tryFastForward(RevCommit newCommit) Check if we can fast-forward and returns the new head if it is possibleConstructors in org.eclipse.jgit.api with parameters of type RevCommitModifierConstructorDescriptionCherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs) Constructor for CherryPickResult -
Uses of RevCommit in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that return RevCommitModifier and TypeMethodDescriptionBlameGenerator.getSourceCommit()Get the revision blamed for the current region.BlameResult.getSourceCommit(int idx) Get the commit that provided the specified line of the result. -
Uses of RevCommit in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo that return RevCommit -
Uses of RevCommit in org.eclipse.jgit.internal.revwalk
Methods in org.eclipse.jgit.internal.revwalk that return types with arguments of type RevCommitModifier and TypeMethodDescriptionBitmappedReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check all targets are reachable from the starters.PedestrianReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Methods in org.eclipse.jgit.internal.revwalk with parameters of type RevCommitModifier and TypeMethodDescriptionfinal booleanfinal booleanfinal booleanMethod parameters in org.eclipse.jgit.internal.revwalk with type arguments of type RevCommitModifier and TypeMethodDescriptionBitmappedReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check all targets are reachable from the starters.BitmappedReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check all targets are reachable from the starters.PedestrianReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) PedestrianReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) -
Uses of RevCommit in org.eclipse.jgit.internal.storage.commitgraph
Methods in org.eclipse.jgit.internal.storage.commitgraph that return types with arguments of type RevCommit -
Uses of RevCommit in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return RevCommitModifier and TypeMethodDescriptionRepository.parseCommit(AnyObjectId id) Locate a reference to a commit and immediately parse its content.Methods in org.eclipse.jgit.lib with parameters of type RevCommitModifier and TypeMethodDescriptionvoidAdd a link to a submodule commit, mode isFileMode.GITLINK. -
Uses of RevCommit in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as RevCommitModifier and TypeFieldDescriptionprotected RevCommit[]Merger.sourceCommitsIfMerger.sourceObjects[i] is a commit, this is the commit.Methods in org.eclipse.jgit.merge that return RevCommitModifier and TypeMethodDescriptionprotected RevCommitMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommitRecursiveMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommitRecursiveMerger.getBaseCommit(RevCommit a, RevCommit b, int callDepth) Get a single base commit for two given commits.Methods in org.eclipse.jgit.merge with parameters of type RevCommitModifier and TypeMethodDescriptionprotected RevCommitMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommitRecursiveMerger.getBaseCommit(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommitRecursiveMerger.getBaseCommit(RevCommit a, RevCommit b, int callDepth) Get a single base commit for two given commits.Method parameters in org.eclipse.jgit.merge with type arguments of type RevCommit -
Uses of RevCommit in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes with parameters of type RevCommitModifier and TypeMethodDescriptionstatic NoteMapNoteMap.read(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch. -
Uses of RevCommit in org.eclipse.jgit.revplot
Subclasses of RevCommit in org.eclipse.jgit.revplotModifier and TypeClassDescriptionclassPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG.Methods in org.eclipse.jgit.revplot that return RevCommitModifier and TypeMethodDescriptionprotected RevCommitPlotWalk.createCommit(AnyObjectId id) PlotWalk.next() -
Uses of RevCommit in org.eclipse.jgit.revwalk
Classes in org.eclipse.jgit.revwalk with type parameters of type RevCommitModifier and TypeClassDescriptionclassRevCommitList<E extends RevCommit>An ordered list ofRevCommitsubclasses.Subclasses of RevCommit in org.eclipse.jgit.revwalkModifier and TypeClassDescriptionstatic classRevCommit with a depth (in commits) from a root.Fields in org.eclipse.jgit.revwalk declared as RevCommitModifier and TypeFieldDescriptionprotected RevCommit[]RevCommit.parentsAvoid accessing this field directly.Methods in org.eclipse.jgit.revwalk that return RevCommitModifier and TypeMethodDescriptionprotected RevCommitDepthWalk.ObjectWalk.createCommit(AnyObjectId id) protected RevCommitDepthWalk.RevWalk.createCommit(AnyObjectId id) protected RevCommitRevWalk.createCommit(AnyObjectId id) Construct a new unparsed commit for the given object.RevCommit.getParent(int nth) Get the nth parent from this commit's parent list.RevCommit.getParents()Obtain an array of all parents (NOTE - THIS IS NOT A COPY).RevWalk.lookupCommit(AnyObjectId id) Locate a reference to a commit without loading it.protected RevCommitRevWalk.lookupCommit(AnyObjectId id, int graphPos) This method is intended to be invoked only byRevCommitCG, in order to give commit the correct graphPosition before accessing the commit-graph.DateRevQueue.next()FIFORevQueue.next()LIFORevQueue.next()ObjectWalk.next()RevWalk.next()Pop the next most recent commit.static RevCommitRevCommit.parse(byte[] raw) Parse a commit from its canonical format.static RevCommitParse a commit from its canonical format.RevWalk.parseCommit(AnyObjectId id) Locate a reference to a commit and immediately parse its content.DateRevQueue.peek()Peek at the next commit, without removing it.Methods in org.eclipse.jgit.revwalk that return types with arguments of type RevCommitModifier and TypeMethodDescriptionReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Collection<RevCommit> starters) Deprecated.ReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarterscommits.Find commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.RevWalk.iterator()Methods in org.eclipse.jgit.revwalk with parameters of type RevCommitModifier and TypeMethodDescriptionvoidvoidvoidstatic intCount the number of commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.voidEnsures all commits until the given commit are loaded.Find commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs) Find the list of branches a given commit is reachable from when following parents.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs, ProgressMonitor monitor) Find the list of branches a given commit is reachable from when following parents.RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs) Determine the Refs into which a commit is merged.RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs, ProgressMonitor monitor) Determine the Refs into which a commit is merged.booleanbooleanRevWalk.isMergedInto(RevCommit base, RevCommit tip) Determine if a commit is reachable from another commit.booleanRevWalk.isMergedIntoAll(RevCommit commit, Collection<Ref> refs) Determine if acommitis merged into all of the givenrefs.booleanRevWalk.isMergedIntoAny(RevCommit commit, Collection<Ref> refs) Determine if acommitis merged into any of the givenrefs.booleanRevWalk.isMergedIntoAnyCommit(RevCommit commit, Collection<RevCommit> revs) Determine if acommitis merged into any of the givenrevs.voidMark a root commit (i.e., one whose depth should be considered 0.)voidMark a commit to start graph traversal from.voidRevWalk.markUninteresting(RevCommit c) Mark a commit to not produce in the output.voidCalled whenever a diff was found that is actually a rename or copy of a file along with the commit that caused it.voidInsert the commit pointer at the front of the queue.Method parameters in org.eclipse.jgit.revwalk with type arguments of type RevCommitModifier and TypeMethodDescriptionReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Collection<RevCommit> starters) Deprecated.ReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarterscommits.ReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarterscommits.booleanRevWalk.isMergedIntoAnyCommit(RevCommit commit, Collection<RevCommit> revs) Determine if acommitis merged into any of the givenrevs.voidRevWalk.markStart(Collection<RevCommit> list) Mark commits to start graph traversal from. -
Uses of RevCommit in org.eclipse.jgit.revwalk.filter
Methods in org.eclipse.jgit.revwalk.filter with parameters of type RevCommitModifier and TypeMethodDescriptionbooleanbooleanbooleanDetermine if the supplied commit should be included in results.abstract booleanDetermine if the supplied commit should be included in results.booleanbooleanprotected abstract CharSequenceObtain the raw text to match against.protected abstract RawCharSequenceObtain the raw text to match against. -
Uses of RevCommit in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport with parameters of type RevCommit -
Uses of RevCommit in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type RevCommitModifier and TypeMethodDescriptionstatic AttributesLfsFactory.getAttributesForPath(Repository db, String path, RevCommit commit) Get attributes for given path and commit
ReachabilityChecker.areAllReachable(Collection, Stream)