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
, otherwisenull
CherryPickResult.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 TypeMethodDescriptionCheckoutCommand.setStartPoint
(RevCommit startCommit) Set the commit that should be checked out.CreateBranchCommand.setStartPoint
(RevCommit startPoint) Set the start pointRebaseCommand.setUpstream
(RevCommit upstream) Set upstreamRevCommit
RebaseCommand.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 boolean
final boolean
final boolean
Method 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 TypeMethodDescriptionvoid
Add 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.sourceCommits
IfMerger.sourceObjects
[i] is a commit, this is the commit.Methods in org.eclipse.jgit.merge that return RevCommitModifier and TypeMethodDescriptionprotected RevCommit
Merger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommit
RecursiveMerger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommit
RecursiveMerger.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 RevCommit
Merger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommit
RecursiveMerger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommit
RecursiveMerger.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 NoteMap
NoteMap.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 TypeClassDescriptionclass
PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG.Methods in org.eclipse.jgit.revplot that return RevCommitModifier and TypeMethodDescriptionprotected RevCommit
PlotWalk.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 TypeClassDescriptionclass
RevCommitList<E extends RevCommit>
An ordered list ofRevCommit
subclasses.Subclasses of RevCommit in org.eclipse.jgit.revwalkModifier and TypeClassDescriptionstatic class
RevCommit with a depth (in commits) from a root.Fields in org.eclipse.jgit.revwalk declared as RevCommitModifier and TypeFieldDescriptionprotected RevCommit[]
RevCommit.parents
Avoid accessing this field directly.Methods in org.eclipse.jgit.revwalk that return RevCommitModifier and TypeMethodDescriptionprotected RevCommit
DepthWalk.ObjectWalk.createCommit
(AnyObjectId id) protected RevCommit
DepthWalk.RevWalk.createCommit
(AnyObjectId id) protected RevCommit
RevWalk.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 RevCommit
RevWalk.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 RevCommit
RevCommit.parse
(byte[] raw) Parse a commit from its canonical format.static RevCommit
Parse 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 thestarters
commits.Find commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.RevWalk.iterator()
Methods in org.eclipse.jgit.revwalk with parameters of type RevCommitModifier and TypeMethodDescriptionvoid
void
void
static int
Count the number of commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.void
Ensures all commits until the given commit are loaded.Find commits that are reachable fromstart
until a commit that is reachable fromend
is 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.boolean
boolean
RevWalk.isMergedInto
(RevCommit base, RevCommit tip) Determine if a commit is reachable from another commit.boolean
RevWalk.isMergedIntoAll
(RevCommit commit, Collection<Ref> refs) Determine if acommit
is merged into all of the givenrefs
.boolean
RevWalk.isMergedIntoAny
(RevCommit commit, Collection<Ref> refs) Determine if acommit
is merged into any of the givenrefs
.void
Mark a root commit (i.e., one whose depth should be considered 0.)void
Mark a commit to start graph traversal from.void
RevWalk.markUninteresting
(RevCommit c) Mark a commit to not produce in the output.void
Called whenever a diff was found that is actually a rename or copy of a file along with the commit that caused it.void
Insert 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 thestarters
commits.ReachabilityChecker.areAllReachable
(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarters
commits.void
RevWalk.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 TypeMethodDescriptionboolean
boolean
boolean
Determine if the supplied commit should be included in results.abstract boolean
Determine if the supplied commit should be included in results.boolean
boolean
protected abstract CharSequence
Obtain the raw text to match against.protected abstract RawCharSequence
Obtain 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 Attributes
LfsFactory.getAttributesForPath
(Repository db, String path, RevCommit commit) Get attributes for given path and commit
ReachabilityChecker.areAllReachable(Collection, Stream)