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.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.revwalk | |
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
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.
|
Modifier and Type | Class and Description |
---|---|
private static class |
NameRevCommand.NameRevCommit |
Modifier and Type | Field and 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 |
Modifier and Type | Method and 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 is
RebaseResult.Status.STOPPED , otherwise
null |
RevCommit |
CherryPickResult.getNewHead()
Get the new head after this cherry-pick
|
private RevCommit |
CherryPickCommand.getParentCommit(RevCommit srcCommit,
RevWalk revWalk) |
private RevCommit |
ResetCommand.parseCommit(ObjectId commitId) |
private RevCommit |
StashCreateCommand.parseCommit(ObjectReader reader,
ObjectId headId) |
private RevCommit |
CloneCommand.parseCommit(Repository clonedRepo,
Ref ref) |
private RevCommit |
RebaseCommand.squashIntoPrevious(boolean sequenceContainsSquash,
RebaseTodoLine nextStep) |
RevCommit |
RebaseCommand.tryFastForward(RevCommit newCommit)
Check if we can fast-forward and returns the new head if it is possible
|
private RevCommit |
RebaseCommand.tryFastForward(java.lang.String headName,
RevCommit oldCommit,
RevCommit newCommit) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
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)
Create
RebaseResult |
CheckoutCommand |
CheckoutCommand.setStartPoint(RevCommit startCommit)
Set the commit that should be checked out.
|
CreateBranchCommand |
CreateBranchCommand.setStartPoint(RevCommit startPoint)
Set the start point
|
RebaseCommand |
RebaseCommand.setUpstream(RevCommit upstream)
Set upstream
RevCommit |
private RebaseResult |
RebaseCommand.stop(RevCommit commitToPick,
RebaseResult.Status status) |
RevCommit |
RebaseCommand.tryFastForward(RevCommit newCommit)
Check if we can fast-forward and returns the new head if it is possible
|
private RevCommit |
RebaseCommand.tryFastForward(java.lang.String headName,
RevCommit oldCommit,
RevCommit newCommit) |
private 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) |
Modifier and Type | Method and Description |
---|---|
private void |
RebaseCommand.writeMergeInfo(RevCommit commitToPick,
java.util.List<RevCommit> newParents) |
Constructor and Description |
---|
CherryPickResult(RevCommit newHead,
java.util.List<Ref> cherryPickedRefs)
Constructor for CherryPickResult
|
RebaseResult(RebaseResult.Status status,
RevCommit commit) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ReverseWalk.ReverseCommit |
Modifier and Type | Field and Description |
---|---|
(package private) RevCommit |
Candidate.sourceCommit
Commit being considered (or blamed, depending on state).
|
private RevCommit[] |
BlameResult.sourceCommits |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RevCommit> |
Candidate.HeadCandidate.parents |
Modifier and Type | Method and Description |
---|---|
protected RevCommit |
ReverseWalk.createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.
|
(package private) RevCommit |
Candidate.getParent(int idx) |
(package private) RevCommit |
Candidate.ReverseCandidate.getParent(int idx) |
(package private) RevCommit |
Candidate.HeadCandidate.getParent(int idx) |
(package private) RevCommit |
Candidate.BlobCandidate.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.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<RevCommit> |
BlameGenerator.getHeads(Repository repo,
ObjectId head) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
Candidate(Repository repo,
RevCommit commit,
PathFilter path) |
Constructor and Description |
---|
HeadCandidate(Repository repo,
PathFilter path,
java.util.List<RevCommit> parents) |
Modifier and Type | Method and Description |
---|---|
RevCommit |
RepoCommand.call() |
Modifier and Type | Method and Description |
---|---|
private RevCommit |
LagCheck.parseRemoteCommit(java.lang.String refName) |
Modifier and Type | Method and Description |
---|---|
private void |
StageBuilder.reduceObjects(java.util.List<ReceiveCommand> cmds,
java.util.List<RevCommit> commits,
Repository git,
java.util.Set<ObjectId> newObjs) |
private static PersonIdent |
StageBuilder.tmpAuthor(java.util.List<RevCommit> commits) |
Modifier and Type | Method and Description |
---|---|
boolean |
AddToBitmapFilter.include(RevWalk walker,
RevCommit cmit)
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.
|
Modifier and Type | Field and Description |
---|---|
(package private) RevCommit[] |
PackWriterBitmapPreparer.CommitSelectionHelper.newCommitsByOldest |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<RevCommit> |
PackWriterBitmapPreparer.CommitSelectionHelper.newWantsByNewest |
private static java.util.Comparator<RevCommit> |
PackWriterBitmapPreparer.ORDER_BY_REVERSE_TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<RevCommit> |
PackWriterBitmapPreparer.CommitSelectionHelper.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
PackWriterBitmapPreparer.NotInBitmapFilter.include(RevWalk rw,
RevCommit c) |
private boolean |
PackWriterBitmapPreparer.isRecentCommit(RevCommit revCommit) |
Constructor and Description |
---|
CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants,
RevCommit[] commitsByOldest,
int commitStartPos,
java.util.List<RevCommit> newWantsByNewest,
BitmapIndex.BitmapBuilder reusedCommitsBitmap,
java.util.List<PackWriterBitmapPreparer.BitmapCommit> reuse) |
Constructor and Description |
---|
CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants,
RevCommit[] commitsByOldest,
int commitStartPos,
java.util.List<RevCommit> newWantsByNewest,
BitmapIndex.BitmapBuilder reusedCommitsBitmap,
java.util.List<PackWriterBitmapPreparer.BitmapCommit> reuse) |
Modifier and Type | Field and Description |
---|---|
private RevCommit |
TestRepository.CommitBuilder.self |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RevCommit> |
TestRepository.CommitBuilder.parents |
Modifier and Type | Method and 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 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.
|
RevCommit |
TestRepository.BranchBuilder.update(TestRepository.CommitBuilder to)
Forcefully update this branch to a particular commit.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RevCommit> |
TestRepository.CommitBuilder.parents()
Get parent commits
|
Modifier and Type | Method and 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 commit
|
RevCommit |
TestRepository.BranchBuilder.update(RevCommit to)
Forcefully update this branch to a particular commit.
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Collection<RemoteRefUpdate> |
HttpTestCase.push(TestRepository from,
RevCommit q)
Push a commit
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
void |
TreeFormatter.append(java.lang.String name,
RevCommit commit)
Add a link to a submodule commit, mode is
FileMode.GITLINK . |
Modifier and Type | Field and Description |
---|---|
protected RevCommit[] |
Merger.sourceCommits
If
Merger.sourceObjects [i] is a commit, this is the commit. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static NoteMap |
NoteMap.read(ObjectReader reader,
RevCommit commit)
Load a collection of notes from a branch.
|
Modifier and Type | Field and 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 |
Modifier and Type | Method and 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 int |
Blame.uniqueAbbrevLen(ObjectReader reader,
RevCommit commit) |
Constructor and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
RevCommitList<E extends RevCommit>
An ordered list of
RevCommit subclasses. |
Modifier and Type | Class and Description |
---|---|
static class |
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.
|
Modifier and Type | Field and 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 initialize
PendingGenerator.last with. |
private RevCommit |
PendingGenerator.last
Last commit produced to the caller from
PendingGenerator.next() . |
(package private) static RevCommit[] |
RevCommit.NO_PARENTS |
(package private) RevCommit[] |
RevCommit.parents |
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<RevCommit> |
MergeBaseGenerator.ret |
(package private) java.util.ArrayList<RevCommit> |
RevWalk.roots |
Modifier and Type | Method and Description |
---|---|
private RevCommit |
MergeBaseGenerator._next() |
private RevCommit[] |
RewriteGenerator.cleanup(RevCommit[] oldList) |
protected RevCommit |
DepthWalk.RevWalk.createCommit(AnyObjectId id) |
protected RevCommit |
DepthWalk.ObjectWalk.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.
|
abstract RevCommit |
AbstractRevQueue.next()
Return the next commit to the application, or the next generator.
|
RevCommit |
AbstractRevQueue.AlwaysEmptyQueue.next() |
(package private) RevCommit |
BoundaryGenerator.next() |
(package private) RevCommit |
BoundaryGenerator.InitialGenerator.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 |
TopoSortGenerator.next() |
private RevCommit |
RevWalk.nextForIterator()
Like
RevWalk.next() , but if a checked exception is thrown during the
walk it is rethrown as a RevWalkException . |
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) |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<RevCommit> |
ReachabilityChecker.areAllReachable(java.util.Collection<RevCommit> targets,
java.util.Collection<RevCommit> starters)
Deprecated.
|
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> |
ReachabilityChecker.areAllReachable(java.util.Collection<RevCommit> targets,
java.util.stream.Stream<RevCommit> starters)
Check if all targets are reachable from the
starter commits. |
static java.util.List<RevCommit> |
RevWalkUtils.find(RevWalk walk,
RevCommit start,
RevCommit end)
Find commits that are reachable from
start until a commit
that is reachable from end is encountered. |
java.util.Iterator<RevCommit> |
RevWalk.iterator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractRevQueue.add(RevCommit c)
Add a commit to the queue.
|
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.add(RevCommit c,
RevFlag queueControl)
Add a commit if it does not have a flag set yet, then set the flag.
|
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 from
start
until a commit that is reachable from end 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 queue
|
private static void |
BitmappedReachabilityChecker.ReachedFilter.dontFollow(RevCommit cmit) |
void |
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 from
start until a commit
that is reachable from end 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 |
BitmappedReachabilityChecker.ReachedFilter.include(RevWalk walker,
RevCommit cmit)
Determine if the supplied commit should be included in results.
|
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.
|
(package private) boolean |
BitmappedReachabilityChecker.ReachedFilter.isReachable(RevCommit 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.
|
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<RevCommit> |
ReachabilityChecker.areAllReachable(java.util.Collection<RevCommit> targets,
java.util.Collection<RevCommit> starters)
Deprecated.
|
default java.util.Optional<RevCommit> |
ReachabilityChecker.areAllReachable(java.util.Collection<RevCommit> targets,
java.util.Collection<RevCommit> starters)
Deprecated.
|
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) |
java.util.Optional<RevCommit> |
ReachabilityChecker.areAllReachable(java.util.Collection<RevCommit> targets,
java.util.stream.Stream<RevCommit> starters)
Check if all targets are reachable from the
starter 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 the
starter commits. |
void |
RevWalk.markStart(java.util.Collection<RevCommit> list)
Mark commits to start graph traversal from.
|
Constructor and Description |
---|
CarryStack(MergeBaseGenerator.CarryStack prev,
RevCommit c,
int carry) |
Modifier and Type | Method and Description |
---|---|
boolean |
AndRevFilter.Binary.include(RevWalk walker,
RevCommit c) |
boolean |
AndRevFilter.List.include(RevWalk walker,
RevCommit c) |
boolean |
CommitTimeRevFilter.Before.include(RevWalk walker,
RevCommit cmit) |
boolean |
CommitTimeRevFilter.After.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.
|
abstract boolean |
RevFilter.include(RevWalk walker,
RevCommit cmit)
Determine if the supplied commit should be included in results.
|
boolean |
RevFilter.AllFilter.include(RevWalk walker,
RevCommit c) |
boolean |
RevFilter.NoneFilter.include(RevWalk walker,
RevCommit c) |
boolean |
RevFilter.OnlyMergesFilter.include(RevWalk walker,
RevCommit c) |
boolean |
RevFilter.NoMergesFilter.include(RevWalk walker,
RevCommit c) |
boolean |
RevFilter.MergeBaseFilter.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) |
Modifier and Type | Field and Description |
---|---|
(package private) RevCommit |
PushCertificateStore.commit |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<RevCommit> |
BundleWriter.assume |
private RevCommitList<RevCommit> |
BasePackFetchConnection.reachableCommits
All commits that are immediately reachable by a local ref.
|
Modifier and Type | Method and Description |
---|---|
private static RevCommit |
UploadPack.objectIdToRevCommit(RevWalk walk,
ObjectId objectId)
Translate an object id to a RevCommit.
|
Modifier and Type | Method and Description |
---|---|
void |
BundleWriter.assume(RevCommit c)
Assume a commit is available on the recipient's side.
|
private void |
WalkFetchConnection.pushLocalCommit(RevCommit p) |
Modifier and Type | Method and Description |
---|---|
static Attributes |
LfsFactory.getAttributesForPath(Repository db,
java.lang.String path,
RevCommit commit)
Get attributes for given path and commit
|