Uses of Class
org.eclipse.jgit.revwalk.RevCommit
-
Packages that use RevCommit Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.gitrepo org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.notes Git notes processing (for commits, etc).org.eclipse.jgit.revplot Building/rendering revision graphs.org.eclipse.jgit.revwalk Walking revision graphs (commit history).org.eclipse.jgit.revwalk.filter Filters for use in revision walking.org.eclipse.jgit.transport Transport (fetch/push) for different protocols. -
-
Uses of RevCommit in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return RevCommit Modifier and Type Method Description RevCommitCommitCommand. call()Executes thecommitcommand with all the options and parameters collected by the setter methods of this class.RevCommitRevertCommand. call()Executes therevertcommand with all the options and parameters collected by the setter methods (e.g.RevCommitStashCreateCommand. call()Stash the contents on the working directory and index in separate commits and reset to the current HEAD commit.RevCommitRebaseResult. getCurrentCommit()RevCommitCherryPickResult. getNewHead()RevCommitRebaseCommand. tryFastForward(RevCommit newCommit)checks 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 RevCommit Modifier and Type Method Description Iterable<RevCommit>LogCommand. call()Executes theLogcommand with all the options and parameters collected by the setter methods (e.g.Collection<RevCommit>StashListCommand. call()Methods in org.eclipse.jgit.api with parameters of type RevCommit Modifier and Type Method Description CheckoutCommandCheckoutCommand. setStartPoint(RevCommit startCommit)Set the commit that should be checked out.CreateBranchCommandCreateBranchCommand. setStartPoint(RevCommit startPoint)RebaseCommandRebaseCommand. setUpstream(RevCommit upstream)RevCommitRebaseCommand. tryFastForward(RevCommit newCommit)checks if we can fast-forward and returns the new head if it is possibleConstructors in org.eclipse.jgit.api with parameters of type RevCommit Constructor Description CherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs) -
Uses of RevCommit in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that return RevCommit Modifier and Type Method Description RevCommitBlameGenerator. getSourceCommit()Get the revision blamed for the current region.RevCommitBlameResult. 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 Modifier and Type Method Description RevCommitRepoCommand. call() -
Uses of RevCommit in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib with parameters of type RevCommit Modifier and Type Method Description voidTreeFormatter. append(String name, RevCommit commit)Add a link to a submodule commit, mode isFileMode.GITLINK.voidObjectReader. walkAdviceBeginTrees(ObjectWalk ow, RevCommit min, RevCommit max)Advice from anObjectWalkthat trees will be traversed.Method parameters in org.eclipse.jgit.lib with type arguments of type RevCommit Modifier and Type Method Description voidObjectReader. walkAdviceBeginCommits(RevWalk walk, Collection<RevCommit> roots)Advice from aRevWalkthat a walk is starting from these roots. -
Uses of RevCommit in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as RevCommit Modifier and Type Field Description protected RevCommit[]Merger. sourceCommitsIfMerger.sourceObjects[i] is a commit, this is the commit.Methods in org.eclipse.jgit.merge that return RevCommit Modifier and Type Method Description RevCommitMerger. getBaseCommit(int aIdx, int bIdx)Deprecated.useMerger.getBaseCommitId()instead, as that does not require walking the commits againprotected RevCommitMerger. getBaseCommit(RevCommit a, RevCommit b)Return the merge base of two commits.protected RevCommitRecursiveMerger. getBaseCommit(RevCommit a, RevCommit b)Get a single base commit for two given 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 RevCommit Modifier and Type Method Description protected RevCommitMerger. getBaseCommit(RevCommit a, RevCommit b)Return the merge base of two commits.protected RevCommitRecursiveMerger. getBaseCommit(RevCommit a, RevCommit b)Get a single base commit for two given 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 Modifier and Type Method Description StringSquashMessageFormatter. format(List<RevCommit> squashedCommits, Ref target)Construct the squashed commit message. -
Uses of RevCommit in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes with parameters of type RevCommit Modifier and Type Method Description static 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.revplot Modifier and Type Class Description classPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG.Methods in org.eclipse.jgit.revplot that return RevCommit Modifier and Type Method Description protected RevCommitPlotWalk. createCommit(AnyObjectId id)RevCommitPlotWalk. next() -
Uses of RevCommit in org.eclipse.jgit.revwalk
Classes in org.eclipse.jgit.revwalk with type parameters of type RevCommit Modifier and Type Class Description classRevCommitList<E extends RevCommit>An ordered list ofRevCommitsubclasses.Subclasses of RevCommit in org.eclipse.jgit.revwalk Modifier and Type Class Description static classDepthWalk.CommitRevCommit with a depth (in commits) from a root.Methods in org.eclipse.jgit.revwalk that return RevCommit Modifier and Type Method Description protected 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.RevCommitRevCommit. getParent(int nth)Get the nth parent from this commit's parent list.RevCommit[]RevCommit. getParents()Obtain an array of all parents (NOTE - THIS IS NOT A COPY).RevCommitRevWalk. lookupCommit(AnyObjectId id)Locate a reference to a commit without loading it.RevCommitDateRevQueue. next()RevCommitFIFORevQueue. next()RevCommitLIFORevQueue. next()RevCommitObjectWalk. next()RevCommitRevWalk. next()Pop the next most recent commit.static RevCommitRevCommit. parse(byte[] raw)Parse a commit from its canonical format.static RevCommitRevCommit. parse(RevWalk rw, byte[] raw)Parse a commit from its canonical format.RevCommitRevWalk. parseCommit(AnyObjectId id)Locate a reference to a commit and immediately parse its content.RevCommitDateRevQueue. peek()Peek at the next commit, without removing it.Methods in org.eclipse.jgit.revwalk that return types with arguments of type RevCommit Modifier and Type Method Description static List<RevCommit>RevWalkUtils. find(RevWalk walk, RevCommit start, RevCommit end)Find commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.Iterator<RevCommit>RevWalk. iterator()Returns an Iterator over the commits of this walker.Methods in org.eclipse.jgit.revwalk with parameters of type RevCommit Modifier and Type Method Description voidDateRevQueue. add(RevCommit c)voidFIFORevQueue. add(RevCommit c)voidLIFORevQueue. add(RevCommit c)static intRevWalkUtils. count(RevWalk walk, RevCommit start, RevCommit end)Count the number of commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.voidRevCommitList. fillTo(RevCommit commitToLoad, int highMark)Ensures all commits until the given commit are loaded.static List<RevCommit>RevWalkUtils. find(RevWalk walk, RevCommit start, RevCommit end)Find commits that are reachable fromstartuntil a commit that is reachable fromendis encountered.static List<Ref>RevWalkUtils. findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs)Find the list of branches a given commit is reachable from when following parent.sbooleanTreeRevFilter. include(RevWalk walker, RevCommit c)booleanRevWalk. isMergedInto(RevCommit base, RevCommit tip)Determine if a commit is reachable from another commit.voidDepthWalk.RevWalk. markRoot(RevCommit c)Mark a root commit (i.e., one whose depth should be considered 0.)voidRevWalk. markStart(RevCommit c)Mark a commit to start graph traversal from.voidRevWalk. markUninteresting(RevCommit c)Mark a commit to not produce in the output.voidFIFORevQueue. unpop(RevCommit c)Insert the commit pointer at the front of the queue.Method parameters in org.eclipse.jgit.revwalk with type arguments of type RevCommit Modifier and Type Method Description 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 RevCommit Modifier and Type Method Description booleanMaxCountRevFilter. include(RevWalk walker, RevCommit cmit)booleanNotRevFilter. include(RevWalk walker, RevCommit c)booleanPatternMatchRevFilter. include(RevWalk walker, RevCommit cmit)abstract booleanRevFilter. include(RevWalk walker, RevCommit cmit)Determine if the supplied commit should be included in results.booleanSkipRevFilter. include(RevWalk walker, RevCommit cmit)booleanSubStringRevFilter. include(RevWalk walker, RevCommit cmit)protected abstract CharSequencePatternMatchRevFilter. text(RevCommit cmit)Obtain the raw text to match against.protected abstract RawCharSequenceSubStringRevFilter. text(RevCommit cmit)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 Modifier and Type Method Description voidBundleWriter. assume(RevCommit c)Assume a commit is available on the recipient's side.
-