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.internal.storage.pack Reading/writing Git pack files.org.eclipse.jgit.internal.transport.connectivity 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 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
Subclasses of RevCommit in org.eclipse.jgit.api Modifier and Type Class Description private static class
NameRevCommand.NameRevCommit
Fields in org.eclipse.jgit.api declared as RevCommit Modifier and Type Field Description private RevCommit
RebaseResult. currentCommit
private RevCommit
CherryPickResult. newHead
private RevCommit
RebaseCommand. newHead
private RevCommit
CheckoutCommand. startCommit
private RevCommit
CreateBranchCommand. startCommit
private RevCommit
DescribeCommand. target
Commit to describe.private RevCommit
RebaseCommand. upstreamCommit
Methods in org.eclipse.jgit.api that return RevCommit Modifier and Type Method Description RevCommit
CommitCommand. call()
RevCommit
RevertCommand. call()
RevCommit
StashCreateCommand. call()
private RevCommit
RebaseCommand. checkoutCurrentHead()
private RevCommit
RebaseCommand. continueRebase()
private RevCommit
RebaseCommand. doSquashFixup(boolean isSquash, RevCommit commitToPick, RebaseTodoLine nextStep, java.io.File messageFixup, java.io.File messageSquash)
RevCommit
RebaseResult. getCurrentCommit()
Get the current commit if status isRebaseResult.Status.STOPPED
, otherwisenull
RevCommit
CherryPickResult. getNewHead()
Get the new head after this cherry-pickprivate RevCommit
CherryPickCommand. getParentCommit(RevCommit srcCommit, RevWalk revWalk)
private RevCommit
CloneCommand. parseCommit(Repository clonedRepo, Ref ref)
private RevCommit
ResetCommand. parseCommit(ObjectId commitId)
private RevCommit
StashCreateCommand. parseCommit(ObjectReader reader, ObjectId headId)
private RevCommit
RebaseCommand. squashIntoPrevious(boolean sequenceContainsSquash, RebaseTodoLine nextStep)
private RevCommit
RebaseCommand. tryFastForward(java.lang.String headName, RevCommit oldCommit, RevCommit newCommit)
RevCommit
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 private java.util.List<RevCommit>
RebaseCommand. calculatePickList(RevCommit headCommit)
java.lang.Iterable<RevCommit>
LogCommand. call()
java.util.Collection<RevCommit>
StashListCommand. call()
private java.util.List<RevCommit>
RebaseCommand. getNewParents(RevCommit commitToPick)
Methods in org.eclipse.jgit.api with parameters of type RevCommit Modifier and Type Method Description private java.util.List<RevCommit>
RebaseCommand. calculatePickList(RevCommit headCommit)
private boolean
RebaseCommand. checkoutCommit(java.lang.String headName, RevCommit commit)
private void
CheckoutCommand. checkoutPathsFromCommit(TreeWalk treeWalk, DirCache dc, RevCommit commit, Checkout checkout)
private RebaseResult
RebaseCommand. cherryPickCommit(RevCommit commitToPick)
private RebaseResult
RebaseCommand. cherryPickCommitFlattening(RevCommit commitToPick)
private RebaseResult
RebaseCommand. cherryPickCommitPreservingMerges(RevCommit commitToPick)
(package private) static void
AddNoteCommand. commitNoteMap(Repository r, java.lang.String ref, RevWalk walk, NoteMap map, RevCommit notesCommit, ObjectInserter inserter, java.lang.String msg)
private static java.lang.String
RebaseCommand. composeSquashMessage(boolean isSquash, RevCommit commitToPick, java.lang.String currSquashMessage, int count)
private RevCommit
RebaseCommand. doSquashFixup(boolean isSquash, RevCommit commitToPick, RebaseTodoLine nextStep, java.io.File messageFixup, java.io.File messageSquash)
private RebaseResult
RebaseCommand. finishRebase(RevCommit finalHead, boolean lastStepIsForward)
private java.util.List<RevCommit>
RebaseCommand. getNewParents(RevCommit commitToPick)
private RevCommit
CherryPickCommand. getParentCommit(RevCommit srcCommit, RevWalk revWalk)
(package private) static RebaseResult
RebaseResult. result(RebaseResult.Status status, RevCommit commit)
CreateRebaseResult
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
private RebaseResult
RebaseCommand. stop(RevCommit commitToPick, RebaseResult.Status status)
private RevCommit
RebaseCommand. tryFastForward(java.lang.String headName, RevCommit oldCommit, RevCommit newCommit)
RevCommit
RebaseCommand. tryFastForward(RevCommit newCommit)
Check if we can fast-forward and returns the new head if it is possibleprivate void
RebaseCommand. updateHead(java.lang.String headName, RevCommit aNewHead, RevCommit onto)
private void
RebaseCommand. writeCurrentCommit(RevCommit commit)
private void
RebaseCommand. writeMergeInfo(RevCommit commitToPick, java.util.List<RevCommit> newParents)
Method parameters in org.eclipse.jgit.api with type arguments of type RevCommit Modifier and Type Method Description private void
RebaseCommand. writeMergeInfo(RevCommit commitToPick, java.util.List<RevCommit> newParents)
Constructors in org.eclipse.jgit.api with parameters of type RevCommit Constructor Description CherryPickResult(RevCommit newHead, java.util.List<Ref> cherryPickedRefs)
Constructor for CherryPickResultRebaseResult(RebaseResult.Status status, RevCommit commit)
-
Uses of RevCommit in org.eclipse.jgit.blame
Subclasses of RevCommit in org.eclipse.jgit.blame Modifier and Type Class Description (package private) static class
ReverseWalk.ReverseCommit
Fields in org.eclipse.jgit.blame declared as RevCommit Modifier and Type Field Description (package private) RevCommit
Candidate. sourceCommit
Commit being considered (or blamed, depending on state).private RevCommit[]
BlameResult. sourceCommits
Fields in org.eclipse.jgit.blame with type parameters of type RevCommit Modifier and Type Field Description private java.util.List<RevCommit>
Candidate.HeadCandidate. parents
Methods in org.eclipse.jgit.blame that return RevCommit Modifier and Type Method Description protected RevCommit
ReverseWalk. createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.(package private) RevCommit
Candidate.BlobCandidate. getParent(int idx)
(package private) RevCommit
Candidate. getParent(int idx)
(package private) RevCommit
Candidate.HeadCandidate. getParent(int idx)
(package private) RevCommit
Candidate.ReverseCandidate. getParent(int idx)
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.Methods in org.eclipse.jgit.blame that return types with arguments of type RevCommit Modifier and Type Method Description private java.util.List<RevCommit>
BlameGenerator. getHeads(Repository repo, ObjectId head)
Methods in org.eclipse.jgit.blame with parameters of type RevCommit Modifier and Type Method Description private boolean
BlameGenerator. blameEntireRegionOnParent(Candidate n, RevCommit parent)
(package private) Candidate
Candidate. copy(RevCommit commit)
(package private) Candidate
Candidate. create(Repository repo, RevCommit commit, PathFilter path)
(package private) Candidate
Candidate.ReverseCandidate. create(Repository repo, RevCommit commit, PathFilter path)
private boolean
BlameGenerator. find(RevCommit commit, PathFilter path)
private DiffEntry
BlameGenerator. findRename(RevCommit parent, RevCommit commit, PathFilter path)
private boolean
BlameGenerator. splitBlameWithParent(Candidate n, RevCommit parent)
Constructors in org.eclipse.jgit.blame with parameters of type RevCommit Constructor Description Candidate(Repository repo, RevCommit commit, PathFilter path)
Constructor parameters in org.eclipse.jgit.blame with type arguments of type RevCommit Constructor Description HeadCandidate(Repository repo, PathFilter path, java.util.List<RevCommit> parents)
-
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 java.util.Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check all targets are reachable from the starters.java.util.Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Methods in org.eclipse.jgit.internal.revwalk with parameters of type RevCommit Modifier and Type Method Description private static void
BitmappedReachabilityChecker.ReachedFilter. dontFollow(RevCommit cmit)
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.boolean
BitmappedReachabilityChecker.ReachedFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.(package private) boolean
BitmappedReachabilityChecker.ReachedFilter. isReachable(RevCommit commit)
Method parameters in org.eclipse.jgit.internal.revwalk with type arguments of type RevCommit Modifier and Type Method Description java.util.Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check all targets are reachable from the starters.java.util.Optional<RevCommit>
BitmappedReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check all targets are reachable from the starters.java.util.Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
java.util.Optional<RevCommit>
PedestrianReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
-
Uses of RevCommit in org.eclipse.jgit.internal.storage.pack
Fields in org.eclipse.jgit.internal.storage.pack declared as RevCommit Modifier and Type Field Description (package private) RevCommit[]
PackWriterBitmapPreparer.CommitSelectionHelper. newCommitsByOldest
Fields in org.eclipse.jgit.internal.storage.pack with type parameters of type RevCommit Modifier and Type Field Description (package private) java.util.List<RevCommit>
PackWriterBitmapPreparer.CommitSelectionHelper. newWantsByNewest
private static java.util.Comparator<RevCommit>
PackWriterBitmapPreparer. ORDER_BY_REVERSE_TIMESTAMP
Methods in org.eclipse.jgit.internal.storage.pack that return types with arguments of type RevCommit Modifier and Type Method Description java.util.Iterator<RevCommit>
PackWriterBitmapPreparer.CommitSelectionHelper. iterator()
Methods in org.eclipse.jgit.internal.storage.pack with parameters of type RevCommit Modifier and Type Method Description boolean
PackWriterBitmapPreparer.NotInBitmapFilter. include(RevWalk rw, RevCommit c)
private boolean
PackWriterBitmapPreparer. isRecentCommit(RevCommit revCommit)
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type RevCommit Constructor Description CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, java.util.List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, java.util.List<BitmapCommit> reuse)
Constructor parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type RevCommit Constructor Description CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, java.util.List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, java.util.List<BitmapCommit> reuse)
-
Uses of RevCommit in org.eclipse.jgit.internal.transport.connectivity
Methods in org.eclipse.jgit.internal.transport.connectivity that return types with arguments of type RevCommit Modifier and Type Method Description private static java.util.List<RevCommit>
IterativeConnectivityChecker. parseParents(RevCommit[] parents, RevWalk rw)
Methods in org.eclipse.jgit.internal.transport.connectivity with parameters of type RevCommit Modifier and Type Method Description private static java.util.List<RevCommit>
IterativeConnectivityChecker. parseParents(RevCommit[] parents, RevWalk rw)
-
Uses of RevCommit in org.eclipse.jgit.junit
Fields in org.eclipse.jgit.junit declared as RevCommit Modifier and Type Field Description private RevCommit
TestRepository.CommitBuilder. self
Fields in org.eclipse.jgit.junit with type parameters of type RevCommit Modifier and Type Field Description private java.util.List<RevCommit>
TestRepository.CommitBuilder. parents
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(java.lang.String filename, java.lang.String contents, java.lang.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(java.lang.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 java.util.List<RevCommit>
TestRepository.CommitBuilder. parents()
Get parent commitsMethods in org.eclipse.jgit.junit with parameters of type RevCommit Modifier and Type Method Description private TestRepository.CommitBuilder
TestRepository. amend(RevCommit old, TestRepository.CommitBuilder b)
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 java.util.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.private RevCommit
Repository. resolveReflog(RevWalk rw, Ref ref, java.lang.String time)
Methods in org.eclipse.jgit.lib with parameters of type RevCommit Modifier and Type Method Description void
TreeFormatter. append(java.lang.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 private RevCommit
RecursiveMerger. createCommitForTree(ObjectId tree, java.util.List<RevCommit> parents)
Create a new commit by explicitly specifying the content tree and the parents.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 private RevCommit
RecursiveMerger. createCommitForTree(ObjectId tree, java.util.List<RevCommit> parents)
Create a new commit by explicitly specifying the content tree and the parents.java.lang.String
SquashMessageFormatter. format(java.util.List<RevCommit> squashedCommits, Ref target)
Construct the squashed commit message.private static PersonIdent
RecursiveMerger. mockAuthor(java.util.List<RevCommit> parents)
-
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
Fields in org.eclipse.jgit.pgm with type parameters of type RevCommit Modifier and Type Field Description private java.util.Map<RevCommit,java.lang.String>
Blame. abbreviatedCommits
private java.util.List<RevCommit>
MergeBase. commits
private java.util.List<RevCommit>
RevWalkTextBuiltin. commits
private java.util.List<RevCommit>
Blame. reverseRange
Methods in org.eclipse.jgit.pgm with parameters of type RevCommit Modifier and Type Method Description private java.lang.String
Blame. abbreviate(ObjectReader reader, RevCommit commit)
(package private) void
MergeBase. commit_0(RevCommit c)
private static boolean
Blame. sameCommit(RevCommit a, RevCommit b)
protected void
Glog. show(RevCommit c)
"Show" the current RevCommit when called from the main processing loop.protected void
Log. show(RevCommit c)
"Show" the current RevCommit when called from the main processing loop.protected void
RevList. show(RevCommit c)
"Show" the current RevCommit when called from the main processing loop.protected abstract void
RevWalkTextBuiltin. show(RevCommit c)
"Show" the current RevCommit when called from the main processing loop.private void
Show. show(RevWalk rw, RevCommit c)
private void
Log. showDiff(RevCommit c)
private void
Show. showDiff(RevCommit c)
private boolean
Log. showNotes(RevCommit c)
private boolean
Log. showNotes(RevCommit c, NoteMap map, java.lang.String label, boolean emptyLine)
private void
Log. showSignature(RevCommit c)
private void
Show. showSignature(RevCommit c)
private int
Blame. uniqueAbbrevLen(ObjectReader reader, RevCommit commit)
-
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 (package private) RevCommit
MergeBaseGenerator.CarryStack. c
(package private) RevCommit
DateRevQueue.Entry. commit
(package private) RevCommit[]
BlockRevQueue.Block. commits
Our table of queued commits.private static RevCommit
PendingGenerator. INIT_LAST
A commit near the end of time, to initializePendingGenerator.last
with.private RevCommit
PendingGenerator. last
Last commit produced to the caller fromPendingGenerator.next()
.(package private) static RevCommit[]
RevCommit. NO_PARENTS
(package private) RevCommit[]
RevCommit. parents
Fields in org.eclipse.jgit.revwalk with type parameters of type RevCommit Modifier and Type Field Description private java.util.LinkedList<RevCommit>
MergeBaseGenerator. ret
(package private) java.util.ArrayList<RevCommit>
RevWalk. roots
Methods in org.eclipse.jgit.revwalk that return RevCommit Modifier and Type Method Description private RevCommit
MergeBaseGenerator. _next()
private RevCommit[]
RewriteGenerator. cleanup(RevCommit[] oldList)
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
AbstractRevQueue.AlwaysEmptyQueue. next()
abstract RevCommit
AbstractRevQueue. next()
Return the next commit to the application, or the next generator.(package private) RevCommit
BoundaryGenerator.InitialGenerator. next()
(package private) RevCommit
BoundaryGenerator. next()
RevCommit
DateRevQueue. next()
Return the next commit to the application, or the next generator.(package private) RevCommit
DelayRevQueue. next()
(package private) RevCommit
DepthGenerator. next()
(package private) RevCommit
EndGenerator. next()
RevCommit
FIFORevQueue. next()
Return the next commit to the application, or the next generator.(package private) RevCommit
FixUninterestingGenerator. next()
(package private) abstract RevCommit
Generator. next()
Return the next commit to the application, or the next generator.RevCommit
LIFORevQueue. next()
Return the next commit to the application, or the next generator.(package private) RevCommit
MergeBaseGenerator. next()
RevCommit
ObjectWalk. next()
Pop the next most recent commit.(package private) RevCommit
PendingGenerator. next()
RevCommit
RevWalk. next()
Pop the next most recent commit.(package private) RevCommit
RewriteGenerator. next()
(package private) RevCommit
StartGenerator. next()
(package private) RevCommit
TopoNonIntermixSortGenerator. next()
(package private) RevCommit
TopoSortGenerator. next()
private RevCommit
RevWalk. nextForIterator()
LikeRevWalk.next()
, but if a checked exception is thrown during the walk it is rethrown as aRevWalkException
.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.(package private) RevCommit
BlockRevQueue.Block. peek()
RevCommit
DateRevQueue. peek()
Peek at the next commit, without removing it.(package private) RevCommit
BlockRevQueue.Block. pop()
private RevCommit
RewriteGenerator. rewrite(RevCommit p)
Methods in org.eclipse.jgit.revwalk that return types with arguments of type RevCommit Modifier and Type Method Description default java.util.Optional<RevCommit>
ReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.Collection<RevCommit> starters)
Deprecated.java.util.Optional<RevCommit>
ReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
commits.static java.util.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.java.util.Iterator<RevCommit>
RevWalk. iterator()
Methods in org.eclipse.jgit.revwalk with parameters of type RevCommit Modifier and Type Method Description abstract void
AbstractRevQueue. add(RevCommit c)
Add a commit to the queue.void
AbstractRevQueue. add(RevCommit c, RevFlag queueControl)
Add a commit if it does not have a flag set yet, then set the flag.void
AbstractRevQueue.AlwaysEmptyQueue. add(RevCommit c)
(package private) void
BlockRevQueue.Block. add(RevCommit c)
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.private void
MergeBaseGenerator. add(RevCommit c)
void
AbstractRevQueue. addParents(RevCommit c, RevFlag queueControl)
Add a commit's parents if one does not have a flag set yet.(package private) static void
RevCommit. carryFlags(RevCommit c, int carry)
private static FIFORevQueue
RevCommit. carryFlags1(RevCommit c, int carry, int depth)
(package private) void
RevWalk. carryFlagsImpl(RevCommit c)
private static void
RevCommit. carryOneStep(FIFORevQueue q, int carry, RevCommit c)
private void
MergeBaseGenerator. carryOntoHistory(RevCommit c, int carry)
private void
MergeBaseGenerator. carryOntoHistoryInnerLoop(RevCommit c, int carry)
private int
MergeBaseGenerator. carryOntoOne(RevCommit p, int carry)
private RevCommit[]
RewriteGenerator. cleanup(RevCommit[] oldList)
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.private static FIFORevQueue
RevCommit. defer(FIFORevQueue q, int carry, RevCommit[] pList, int i)
private static FIFORevQueue
RevCommit. defer(RevCommit c)
protected static void
AbstractRevQueue. describe(java.lang.StringBuilder s, RevCommit c)
Describe this queuevoid
RevCommitList. fillTo(RevCommit commitToLoad, int highMark)
Ensures all commits until the given commit are loaded.static java.util.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 java.util.List<Ref>
RevWalkUtils. findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, java.util.Collection<Ref> refs)
Find the list of branches a given commit is reachable from when following parents.static java.util.List<Ref>
RevWalkUtils. findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, java.util.Collection<Ref> refs, ProgressMonitor monitor)
Find the list of branches a given commit is reachable from when following parents.boolean
TreeRevFilter. include(RevWalk walker, RevCommit c)
Determine if the supplied commit should be included in results.(package private) void
RevWalk. initializeShallowCommits(RevCommit rc)
Reads the "shallow" file and applies it by setting the parents of shallow commits to an empty array.boolean
RevWalk. isMergedInto(RevCommit base, RevCommit tip)
Determine if a commit is reachable from another commit.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.private DateRevQueue.Entry
DateRevQueue. newEntry(RevCommit c)
private RevCommit
RewriteGenerator. rewrite(RevCommit p)
(package private) void
BlockRevQueue.Block. unpop(RevCommit c)
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 java.util.Optional<RevCommit>
ReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.Collection<RevCommit> starters)
Deprecated.java.util.Optional<RevCommit>
ReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
commits.java.util.Optional<RevCommit>
ReachabilityChecker. areAllReachable(java.util.Collection<RevCommit> targets, java.util.stream.Stream<RevCommit> starters)
Check if all targets are reachable from thestarter
commits.void
RevWalk. markStart(java.util.Collection<RevCommit> list)
Mark commits to start graph traversal from.Constructors in org.eclipse.jgit.revwalk with parameters of type RevCommit Constructor Description CarryStack(MergeBaseGenerator.CarryStack prev, RevCommit c, int carry)
-
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
AndRevFilter.Binary. include(RevWalk walker, RevCommit c)
boolean
AndRevFilter.List. include(RevWalk walker, RevCommit c)
boolean
CommitTimeRevFilter.After. include(RevWalk walker, RevCommit cmit)
boolean
CommitTimeRevFilter.Before. include(RevWalk walker, RevCommit cmit)
boolean
CommitTimeRevFilter.Between. include(RevWalk walker, RevCommit cmit)
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
OrRevFilter.Binary. include(RevWalk walker, RevCommit c)
boolean
OrRevFilter.List. include(RevWalk walker, RevCommit c)
boolean
PatternMatchRevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
RevFilter.AllFilter. include(RevWalk walker, RevCommit c)
abstract boolean
RevFilter. include(RevWalk walker, RevCommit cmit)
Determine if the supplied commit should be included in results.boolean
RevFilter.MergeBaseFilter. include(RevWalk walker, RevCommit c)
boolean
RevFilter.NoMergesFilter. include(RevWalk walker, RevCommit c)
boolean
RevFilter.NoneFilter. include(RevWalk walker, RevCommit c)
boolean
RevFilter.OnlyMergesFilter. include(RevWalk walker, RevCommit c)
boolean
RevFlagFilter.HasAll. include(RevWalk walker, RevCommit c)
boolean
RevFlagFilter.HasAny. include(RevWalk walker, RevCommit c)
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 java.lang.CharSequence
AuthorRevFilter.PatternSearch. text(RevCommit cmit)
protected RawCharSequence
AuthorRevFilter.SubStringSearch. text(RevCommit cmit)
protected java.lang.CharSequence
CommitterRevFilter.PatternSearch. text(RevCommit cmit)
protected RawCharSequence
CommitterRevFilter.SubStringSearch. text(RevCommit cmit)
protected java.lang.CharSequence
MessageRevFilter.PatternSearch. text(RevCommit cmit)
protected RawCharSequence
MessageRevFilter.SubStringSearch. text(RevCommit cmit)
protected abstract java.lang.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.(package private) static RawCharSequence
AuthorRevFilter. textFor(RevCommit cmit)
(package private) static RawCharSequence
CommitterRevFilter. textFor(RevCommit cmit)
(package private) static RawCharSequence
MessageRevFilter. textFor(RevCommit cmit)
-
Uses of RevCommit in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as RevCommit Modifier and Type Field Description (package private) RevCommit
PushCertificateStore. commit
Fields in org.eclipse.jgit.transport with type parameters of type RevCommit Modifier and Type Field Description private java.util.Set<RevCommit>
BundleWriter. assume
private RevCommitList<RevCommit>
BasePackFetchConnection. reachableCommits
All commits that are immediately reachable by a local ref.Methods in org.eclipse.jgit.transport that return RevCommit Modifier and Type Method Description private static RevCommit
UploadPack. objectIdToRevCommit(RevWalk walk, ObjectId objectId)
Translate an object id to a RevCommit.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.private void
WalkFetchConnection. pushLocalCommit(RevCommit p)
-
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, java.lang.String path, RevCommit commit)
Get attributes for given path and commit
-