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.internal.revwalk org.eclipse.jgit.junit org.eclipse.jgit.junit.http 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.pgm.opt 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.org.eclipse.jgit.util Utility classes. -
-
Uses of RevCommit in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return RevCommit Modifier and Type Method Description RevCommit
CommitCommand. call()
RevCommit
RevertCommand. call()
RevCommit
StashCreateCommand. call()
RevCommit
RebaseResult. getCurrentCommit()
Get the current commit if status isRebaseResult.Status.STOPPED
, otherwisenull
RevCommit
CherryPickResult. getNewHead()
Get the new head after this cherry-pickRevCommit
RebaseCommand. 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 RevCommit Modifier and Type Method Description Iterable<RevCommit>
LogCommand. call()
Collection<RevCommit>
StashListCommand. call()
Methods in org.eclipse.jgit.api with parameters of type RevCommit Modifier and Type Method Description CheckoutCommand
CheckoutCommand. setStartPoint(RevCommit startCommit)
Set the commit that should be checked out.CreateBranchCommand
CreateBranchCommand. setStartPoint(RevCommit startPoint)
Set the start pointRebaseCommand
RebaseCommand. setUpstream(RevCommit upstream)
Set upstreamRevCommit
RevCommit
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 RevCommit Constructor Description CherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs)
Constructor for CherryPickResult -
Uses of RevCommit in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that return RevCommit Modifier and Type Method Description RevCommit
BlameGenerator. getSourceCommit()
Get the revision blamed for the current region.RevCommit
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 Modifier and Type Method Description RevCommit
RepoCommand. call()
-
Uses of RevCommit in org.eclipse.jgit.internal.revwalk
Methods in org.eclipse.jgit.internal.revwalk that return types with arguments of type RevCommit Modifier and Type Method Description Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check all targets are reachable from the starters.Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Methods in org.eclipse.jgit.internal.revwalk with parameters of type RevCommit Modifier and Type Method Description boolean
AddToBitmapFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
AddToBitmapWithCacheFilter. include(RevWalk rw, RevCommit c)
Determine if the supplied commit should be included in results.boolean
AddUnseenToBitmapFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.Method parameters in org.eclipse.jgit.internal.revwalk with type arguments of type RevCommit Modifier and Type Method Description Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check all targets are reachable from the starters.Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check all targets are reachable from the starters.Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
-
Uses of RevCommit in org.eclipse.jgit.junit
Methods in org.eclipse.jgit.junit that return RevCommit Modifier and Type Method Description RevCommit
TestRepository. cherryPick(AnyObjectId id)
Cherry-pick a commit onto HEAD.RevCommit
TestRepository. commit(int secDelta, RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(int secDelta, RevTree tree, RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(RevTree tree, RevCommit... parents)
Create a new commit.protected RevCommit
RepositoryTestCase. 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.RevCommit
TestRepository.CommitBuilder. create()
Create the commitRevCommit
TestRepository.BranchBuilder. update(TestRepository.CommitBuilder to)
Forcefully update this branch to a particular commit.RevCommit
TestRepository.BranchBuilder. update(RevCommit to)
Forcefully update this branch to a particular commit.RevCommit
TestRepository. update(String ref, TestRepository.CommitBuilder to)
Update a reference to point to an object.Methods in org.eclipse.jgit.junit that return types with arguments of type RevCommit Modifier and Type Method Description List<RevCommit>
TestRepository.CommitBuilder. parents()
Get parent commitsMethods in org.eclipse.jgit.junit with parameters of type RevCommit Modifier and Type Method Description RevCommit
TestRepository. commit(int secDelta, RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(int secDelta, RevTree tree, RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(RevCommit... parents)
Create a new commit.RevCommit
TestRepository. commit(RevTree tree, RevCommit... parents)
Create a new commit.TestRepository.CommitBuilder
TestRepository.CommitBuilder. parent(RevCommit p)
set parent commitRevCommit
TestRepository.BranchBuilder. update(RevCommit to)
Forcefully 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 RevCommit Modifier and Type Method Description protected 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 RevCommit Modifier and Type Method Description RevCommit
Repository. parseCommit(AnyObjectId id)
Locate a reference to a commit and immediately parse its content.Methods in org.eclipse.jgit.lib with parameters of type RevCommit Modifier and Type Method Description void
TreeFormatter. append(String name, RevCommit commit)
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 RevCommit Modifier and Type Field Description protected RevCommit[]
Merger. sourceCommits
IfMerger.sourceObjects
[i] is a commit, this is the commit.Methods in org.eclipse.jgit.merge that return RevCommit Modifier and Type Method Description protected 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 RevCommit Modifier and Type Method Description protected 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 Modifier and Type Method Description String
SquashMessageFormatter. 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 NoteMap
NoteMap. read(ObjectReader reader, RevCommit commit)
Load a collection of notes from a branch. -
Uses of RevCommit in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type RevCommit Constructor Description RevCommitHandler(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.revplot Modifier and Type Class Description class
PlotCommit<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 RevCommit
PlotWalk. createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.RevCommit
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 RevCommit Modifier and Type Class Description class
RevCommitList<E extends RevCommit>
An ordered list ofRevCommit
subclasses.Subclasses of RevCommit in org.eclipse.jgit.revwalk Modifier and Type Class Description static class
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.Fields in org.eclipse.jgit.revwalk declared as RevCommit Modifier and Type Field Description protected RevCommit[]
RevCommit. parents
Avoid accessing this field directly.Methods in org.eclipse.jgit.revwalk that return RevCommit Modifier and Type Method Description protected 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
RevCommit. 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).RevCommit
RevWalk. lookupCommit(AnyObjectId id)
Locate a reference to a commit without loading it.RevCommit
DateRevQueue. next()
RevCommit
FIFORevQueue. next()
RevCommit
LIFORevQueue. next()
RevCommit
ObjectWalk. next()
Pop the next most recent commit.RevCommit
RevWalk. next()
Pop the next most recent commit.static RevCommit
RevCommit. parse(byte[] raw)
Parse a commit from its canonical format.static RevCommit
RevCommit. parse(RevWalk rw, byte[] raw)
Parse a commit from its canonical format.RevCommit
RevWalk. parseCommit(AnyObjectId id)
Locate a reference to a commit and immediately parse its content.RevCommit
DateRevQueue. 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 default Optional<RevCommit>
ReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Collection<RevCommit> starters)
Deprecated.Optional<RevCommit>
ReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
commits.static List<RevCommit>
RevWalkUtils. find(RevWalk walk, RevCommit start, RevCommit end)
Find commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.Iterator<RevCommit>
RevWalk. iterator()
Methods in org.eclipse.jgit.revwalk with parameters of type RevCommit Modifier and Type Method Description void
DateRevQueue. add(RevCommit c)
Add a commit to the queue.void
FIFORevQueue. add(RevCommit c)
Add a commit to the queue.void
LIFORevQueue. add(RevCommit c)
Add a commit to the queue.static int
RevWalkUtils. count(RevWalk walk, RevCommit start, RevCommit end)
Count the number of commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.void
RevCommitList. 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 fromstart
until a commit that is reachable fromend
is 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 parents.static List<Ref>
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.List<Ref>
RevWalk. getMergedInto(RevCommit commit, Collection<Ref> refs)
Determine the Refs into which a commit is merged.List<Ref>
RevWalk. getMergedInto(RevCommit commit, Collection<Ref> refs, ProgressMonitor monitor)
Determine the Refs into which a commit is merged.boolean
TreeRevFilter. include(RevWalk walker, RevCommit c)
Determine if the supplied commit should be included in results.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
DepthWalk.RevWalk. markRoot(RevCommit c)
Mark a root commit (i.e., one whose depth should be considered 0.)void
RevWalk. markStart(RevCommit c)
Mark a commit to start graph traversal from.void
RevWalk. markUninteresting(RevCommit c)
Mark a commit to not produce in the output.void
FIFORevQueue. 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 default Optional<RevCommit>
ReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Collection<RevCommit> starters)
Deprecated.Optional<RevCommit>
ReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
commits.Optional<RevCommit>
ReachabilityChecker. areAllReachable(Collection<RevCommit> targets, Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
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 RevCommit Modifier and Type Method Description boolean
MaxCountRevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
NotRevFilter. include(RevWalk walker, RevCommit c)
Determine if the supplied commit should be included in results.boolean
PatternMatchRevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.abstract boolean
RevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
SkipRevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
SubStringRevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.protected abstract CharSequence
PatternMatchRevFilter. text(RevCommit cmit)
Obtain the raw text to match against.protected abstract RawCharSequence
SubStringRevFilter. 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 void
BundleWriter. assume(RevCommit c)
Assume a commit is available on the recipient's side. -
Uses of RevCommit in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type RevCommit Modifier and Type Method Description static Attributes
LfsFactory. getAttributesForPath(Repository db, String path, RevCommit commit)
Get attributes for given path and commit
-