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
Subclasses with type arguments of type RevCommit in org.eclipse.jgit.apiModifier and TypeClassDescriptionclassA class used to execute aCommitcommand.classA class used to execute aLogcommand.classA class used to execute arevertcommand.classCommand class to stash changes in the working directory and index in a commit.classCommand class to list the stashed commits in a repository.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 TypeMethodDescriptionCheckoutCommand.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
Subclasses with type arguments of type RevCommit in org.eclipse.jgit.gitrepoMethods 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 booleanDetermine if the supplied commit should be included in results.final booleanDetermine if the supplied commit should be included in results.final booleanDetermine if the supplied commit should be included in results.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.junit
Methods in org.eclipse.jgit.junit that return RevCommitModifier and TypeMethodDescriptionTestRepository.cherryPick(AnyObjectId id) Cherry-pick a commit onto HEAD.Create a new commit.Create a new commit.Create a new commit.Create a new commit.protected RevCommitRepositoryTestCase.commitFile(String filename, String contents, String branch) Commit a file with the specified contents on the specified branch, creating the branch if it didn't exist before.TestRepository.CommitBuilder.create()Create the commitTestRepository.BranchBuilder.update(TestRepository<R>.CommitBuilder to) Forcefully update this branch to a particular commit.Forcefully update this branch to a particular commit.TestRepository.update(String ref, TestRepository<R>.CommitBuilder to) Update a reference to point to an object.Methods in org.eclipse.jgit.junit that return types with arguments of type RevCommitMethods in org.eclipse.jgit.junit with parameters of type RevCommitModifier and TypeMethodDescriptionCreate a new commit.Create a new commit.Create a new commit.Create a new commit.set parent commitForcefully update this branch to a particular commit. -
Uses of RevCommit in org.eclipse.jgit.junit.http
Methods in org.eclipse.jgit.junit.http with parameters of type RevCommitModifier and TypeMethodDescriptionprotected static Collection<RemoteRefUpdate> HttpTestCase.push(TestRepository from, RevCommit q) Push a commit -
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.pgm.opt
Subclasses with type arguments of type RevCommit in org.eclipse.jgit.pgm.optConstructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type RevCommitModifierConstructorDescriptionRevCommitHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super RevCommit> setter) Create a new handler for the command name. -
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) Construct a new unparsed commit for the given object.PlotWalk.next()Pop the next most recent commit. -
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.Classes in org.eclipse.jgit.revwalk that implement interfaces with type arguments of type RevCommitModifier and TypeClassDescriptionclassWalks a commit graph and produces the matching commits in order.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.final RevCommitRevCommit.getParent(int nth) Get the nth parent from this commit's parent list.final RevCommit[]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.DateRevQueue.next()FIFORevQueue.next()LIFORevQueue.next()ObjectWalk.next()Pop the next most recent commit.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 thestartercommits.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 TypeMethodDescriptionvoidAdd a commit to the queue.voidAdd a commit to the queue.voidAdd a commit to the queue.static 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.booleanDetermine if the supplied commit should be included in results.booleanRevWalk.isMergedInto(RevCommit base, RevCommit tip) Determine if a commit is reachable from another commit.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.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 thestartercommits.ReachabilityChecker.areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestartercommits.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 TypeMethodDescriptionbooleanDetermine if the supplied commit should be included in results.booleanDetermine if the supplied commit should be included in results.booleanDetermine if the supplied commit should be included in results.abstract booleanDetermine if the supplied commit should be included in results.booleanDetermine if the supplied commit should be included in results.booleanDetermine if the supplied commit should be included in results.protected 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)