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.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.revwalk | |
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.internal.storage.reftable | |
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.junit | |
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.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.
|
Modifier and Type | Field and Description |
---|---|
private RevWalk |
DescribeCommand.w |
private RevWalk |
LogCommand.walk |
private RevWalk |
NameRevCommand.walk |
private RevWalk |
RebaseCommand.walk |
Modifier and Type | Method and Description |
---|---|
private SubmoduleDeinitCommand.SubmoduleDeinitStatus |
SubmoduleDeinitCommand.checkDirty(RevWalk revWalk,
java.lang.String path)
Check if a submodule is dirty.
|
(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 DirCache |
CommitCommand.createTemporaryIndex(ObjectId headId,
DirCache index,
RevWalk rw) |
private RevCommit |
CherryPickCommand.getParentCommit(RevCommit srcCommit,
RevWalk revWalk) |
private void |
CommitCommand.processOptions(RepositoryState state,
RevWalk rw)
Sets default values for not explicitly specified options.
|
private Ref |
TagCommand.updateTagRef(ObjectId tagId,
RevWalk revWalk,
java.lang.String tagName,
java.lang.String newTagToString) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ReverseWalk |
Modifier and Type | Field and Description |
---|---|
private RevWalk |
BlameGenerator.revPool
Revision pool used to acquire commits from.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
Candidate.beginResult(RevWalk rw) |
(package private) void |
Candidate.HeadCandidate.beginResult(RevWalk rw) |
(package private) void |
Candidate.BlobCandidate.beginResult(RevWalk rw) |
Modifier and Type | Field and Description |
---|---|
private RevWalk |
LagCheck.rw |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<Command> |
Proposal.asCommandList(RevWalk rw,
java.util.Collection<ReceiveCommand> cmds) |
Constructor and Description |
---|
Proposal(RevWalk rw,
java.util.Collection<ReceiveCommand> cmds)
Create a proposal from a collection of received commands.
|
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 |
---|---|
private RevWalk |
DfsPackCompactor.rw |
private RevWalk |
DfsRefUpdate.rw |
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
DfsRefUpdate.update(RevWalk walk)
Gracefully update the ref to the new value.
|
Modifier and Type | Field and Description |
---|---|
private RevWalk |
FileReftableDatabase.FileReftableRefUpdate.rw |
Modifier and Type | Method and Description |
---|---|
private static RefList<Ref> |
PackedBatchRefUpdate.applyUpdates(RevWalk walk,
RefList<Ref> refs,
java.util.List<ReceiveCommand> commands) |
private boolean |
PackedBatchRefUpdate.checkNonFastForwards(RevWalk walk,
java.util.List<ReceiveCommand> commands) |
private boolean |
PackedBatchRefUpdate.checkObjectExistence(RevWalk walk,
java.util.List<ReceiveCommand> commands) |
void |
PackedBatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor,
java.util.List<java.lang.String> options)
Execute this batch update.
|
private static Ref |
PackedBatchRefUpdate.peeledRef(RevWalk walk,
ReceiveCommand cmd) |
private static Ref |
FileReftableDatabase.refForWrite(RevWalk rw,
Ref r) |
RefUpdate.Result |
FileReftableDatabase.FileReftableRefUpdate.update(RevWalk walk) |
Modifier and Type | Method and Description |
---|---|
private PackWriterBitmapPreparer.CommitSelectionHelper |
PackWriterBitmapPreparer.captureOldAndNewCommits(RevWalk rw,
int expectedCommitCount,
java.util.Set<? extends ObjectId> excludeFromBitmapSelection)
Records which of the
wants can be found in the previous GC pack's
bitmap indices and which are new. |
boolean |
PackWriterBitmapPreparer.NotInBitmapFilter.include(RevWalk rw,
RevCommit c) |
Modifier and Type | Method and Description |
---|---|
private boolean |
ReftableBatchRefUpdate.checkNonFastForwards(RevWalk rw,
java.util.List<ReceiveCommand> pending) |
private boolean |
ReftableBatchRefUpdate.checkObjectExistence(RevWalk rw,
java.util.List<ReceiveCommand> pending) |
void |
ReftableBatchRefUpdate.execute(RevWalk rw,
ProgressMonitor pm,
java.util.List<java.lang.String> options)
Execute this batch update.
|
private static java.util.List<Ref> |
ReftableBatchRefUpdate.toNewRefs(RevWalk rw,
java.util.List<ReceiveCommand> pending) |
Modifier and Type | Field and Description |
---|---|
private RevWalk |
RefTreeUpdate.rw |
Modifier and Type | Method and Description |
---|---|
private void |
RefTreeBatch.commit(RevWalk rw,
java.util.List<Command> todo) |
(package private) void |
RefTreeBatch.execute(RevWalk rw,
java.util.List<Command> todo)
Execute an update from
RefTreeUpdate or RefTreeRename . |
void |
RefTreeBatch.execute(RevWalk rw,
ProgressMonitor monitor)
Execute this batch update without option strings.
|
(package private) void |
RefTreeBatch.init(RevWalk rw) |
(package private) static Ref |
Command.toRef(RevWalk rw,
ObjectId id,
java.lang.String target,
java.lang.String name,
boolean mustExist) |
private void |
RefTreeBatch.updateBootstrap(RevWalk rw,
ReceiveCommand commit) |
Constructor and Description |
---|
Command(RevWalk rw,
ReceiveCommand cmd)
Construct a RefTree command wrapped around a ReceiveCommand.
|
Modifier and Type | Field and Description |
---|---|
private RevWalk |
TestRepository.pool |
Modifier and Type | Method and Description |
---|---|
RevWalk |
TestRepository.getRevWalk()
Get RevWalk
|
Constructor and Description |
---|
TestRepository(R db,
RevWalk rw)
Wrap a repository with test building tools.
|
TestRepository(R db,
RevWalk rw,
MockSystemReader reader)
Wrap a repository with test building tools.
|
Modifier and Type | Method and Description |
---|---|
RefUpdate.Result |
RefUpdate.delete(RevWalk walk)
Delete the ref.
|
void |
BatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor)
Execute this batch update without option strings.
|
void |
BatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor,
java.util.List<java.lang.String> options)
Execute this batch update.
|
private static boolean |
BatchRefUpdate.isMissing(RevWalk walk,
ObjectId id) |
private RevObject |
Repository.parseSimple(RevWalk rw,
java.lang.String revstr) |
private java.lang.Object |
Repository.resolve(RevWalk rw,
java.lang.String revstr) |
private RevCommit |
Repository.resolveReflog(RevWalk rw,
Ref ref,
java.lang.String time) |
private static RevObject |
RefUpdate.safeParseNew(RevWalk rw,
AnyObjectId newId) |
private static RevObject |
RefUpdate.safeParseOld(RevWalk rw,
AnyObjectId oldId) |
RefUpdate.Result |
RefUpdate.update(RevWalk walk)
Gracefully update the ref to the new value.
|
private RefUpdate.Result |
RefUpdate.updateImpl(RevWalk walk,
RefUpdate.Store store) |
Modifier and Type | Field and Description |
---|---|
protected RevWalk |
Merger.walk
A RevWalk for computing merge bases, or listing incoming commits.
|
Modifier and Type | Field and Description |
---|---|
protected RevWalk |
TextBuiltin.argWalk
RevWalk used during command line parsing, if it was required.
|
private RevWalk |
Branch.rw
Only set for verbose branch listing at-the-moment
|
(package private) RevWalk |
RevWalkTextBuiltin.walk |
Modifier and Type | Method and Description |
---|---|
protected RevWalk |
Glog.createWalk()
Create RevWalk
|
protected RevWalk |
RevWalkTextBuiltin.createWalk()
Create RevWalk
|
Modifier and Type | Method and Description |
---|---|
private void |
Show.show(RevWalk rw,
RevCommit c) |
Modifier and Type | Field and Description |
---|---|
private RevWalk |
CmdLineParser.walk |
Modifier and Type | Method and Description |
---|---|
RevWalk |
CmdLineParser.getRevWalk()
Get the revision walker used to support option parsing.
|
RevWalk |
CmdLineParser.getRevWalkGently()
Get the revision walker used to support option parsing.
|
Modifier and Type | Class and Description |
---|---|
class |
PlotWalk
Specialized RevWalk for visualization of a commit graph.
|
Modifier and Type | Method and Description |
---|---|
void |
PlotCommitList.source(RevWalk w)
Set the revision walker this list populates itself from.
|
Modifier and Type | Class and Description |
---|---|
static class |
DepthWalk.ObjectWalk
Subclass of ObjectWalk that performs depth filtering.
|
static class |
DepthWalk.RevWalk
Subclass of RevWalk that performs depth filtering.
|
class |
ObjectWalk
Specialized subclass of RevWalk to include trees, blobs and tags.
|
Modifier and Type | Field and Description |
---|---|
private RevWalk |
BitmappedReachabilityChecker.walk |
private RevWalk |
BoundaryGenerator.InitialGenerator.walk |
private RevWalk |
DepthGenerator.walk |
private RevWalk |
PedestrianReachabilityChecker.walk |
private RevWalk |
MergeBaseGenerator.walker |
private RevWalk |
PendingGenerator.walker |
private RevWalk |
RevCommitList.walker |
(package private) RevWalk |
RevFlag.walker |
private RevWalk |
StartGenerator.walker |
Modifier and Type | Method and Description |
---|---|
RevWalk |
RevFlag.getRevWalk()
Get the revision walk instance this flag was created from.
|
RevWalk |
RevFlag.StaticRevFlag.getRevWalk() |
Modifier and Type | Method and Description |
---|---|
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. |
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.
|
static RevCommit |
RevCommit.parse(RevWalk rw,
byte[] raw)
Parse a commit from its canonical format.
|
static RevTag |
RevTag.parse(RevWalk rw,
byte[] raw)
Parse an annotated tag from its canonical format.
|
(package private) void |
RevBlob.parseBody(RevWalk walk) |
(package private) void |
RevCommit.parseBody(RevWalk walk) |
(package private) abstract void |
RevObject.parseBody(RevWalk walk) |
(package private) void |
RevTag.parseBody(RevWalk walk) |
(package private) void |
RevTree.parseBody(RevWalk walk) |
(package private) void |
RevCommit.parseCanonical(RevWalk walk,
byte[] raw) |
(package private) void |
RevTag.parseCanonical(RevWalk walk,
byte[] rawTag) |
(package private) void |
RevBlob.parseHeaders(RevWalk walk) |
(package private) void |
RevCommit.parseHeaders(RevWalk walk) |
(package private) abstract void |
RevObject.parseHeaders(RevWalk walk) |
(package private) void |
RevTag.parseHeaders(RevWalk walk) |
(package private) void |
RevTree.parseHeaders(RevWalk walk) |
void |
RevCommitList.source(RevWalk w)
Set the revision walker this list populates itself from.
|
Constructor and Description |
---|
BitmappedReachabilityChecker(RevWalk walk) |
BoundaryGenerator(RevWalk w,
Generator s) |
InitialGenerator(RevWalk w,
Generator s) |
MergeBaseGenerator(RevWalk w) |
PedestrianReachabilityChecker(boolean topoSort,
RevWalk walk)
New instance of the reachability checker using a existing walk.
|
PendingGenerator(RevWalk w,
DateRevQueue p,
RevFilter f,
int out) |
RevFlag(RevWalk w,
java.lang.String n,
int m) |
StartGenerator(RevWalk w) |
TreeRevFilter(RevWalk walker,
TreeFilter t)
Create a
RevFilter from a
TreeFilter . |
TreeRevFilter(RevWalk walker,
TreeFilter t,
int rewriteFlag)
Create a filter for the first phase of a parent-rewriting limited revision
walk.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private RevWalk |
WalkFetchConnection.revWalk |
private RevWalk |
BasePackFetchConnection.walk |
private RevWalk |
ConnectivityChecker.ConnectivityCheckInfo.walk |
private RevWalk |
ReceivePack.walk
Revision traversal support over
ReceivePack.db . |
private RevWalk |
UploadPack.walk
Revision traversal support over
UploadPack.db . |
private RevWalk |
PushProcess.walker
Revision walker for checking some updates properties.
|
Modifier and Type | Method and Description |
---|---|
RevWalk |
ReceivePack.getRevWalk()
Get the RevWalk instance used by this connection.
|
RevWalk |
UploadPack.getRevWalk()
Get the RevWalk instance used by this connection.
|
RevWalk |
ConnectivityChecker.ConnectivityCheckInfo.getWalk() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<ObjectId> |
AbstractAdvertiseRefsHook.getAdvertisedHaves(Repository repository,
RevWalk revWalk)
Get the additional haves to advertise.
|
protected abstract java.util.Map<java.lang.String,Ref> |
AbstractAdvertiseRefsHook.getAdvertisedRefs(Repository repository,
RevWalk revWalk)
Get the refs to advertise.
|
private static java.util.List<RevObject> |
UploadPack.objectIdsToRevObjects(RevWalk walk,
java.lang.Iterable<ObjectId> objectIds) |
private static RevCommit |
UploadPack.objectIdToRevCommit(RevWalk walk,
ObjectId objectId)
Translate an object id to a RevCommit.
|
void |
ConnectivityChecker.ConnectivityCheckInfo.setWalk(RevWalk walk) |
protected void |
RemoteRefUpdate.updateTrackingRef(RevWalk walk)
Update locally stored tracking branch with the new object.
|
void |
ReceiveCommand.updateType(RevWalk walk)
Update the type of this command by checking for fast-forward.
|