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.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.junit | |
org.eclipse.jgit.junit.http | |
org.eclipse.jgit.lfs | |
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.debug | |
org.eclipse.jgit.revplot |
Building/rendering revision graphs.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Class and Description |
---|---|
private static class |
NameRevCommand.NameRevCommit |
Modifier and Type | Field and Description |
---|---|
private RevObject |
AddNoteCommand.id |
private RevObject |
RemoveNoteCommand.id |
private RevObject |
ShowNoteCommand.id |
private RevObject |
TagCommand.id |
Modifier and Type | Method and Description |
---|---|
RevObject |
TagCommand.getObjectId()
Get the tag's object id
|
Modifier and Type | Method and Description |
---|---|
private RevTree |
ArchiveCommand.getTree(RevObject o) |
AddNoteCommand |
AddNoteCommand.setObjectId(RevObject id)
Sets the object id of object you want a note on.
|
RemoveNoteCommand |
RemoveNoteCommand.setObjectId(RevObject id)
Sets the object id of object you want to remove a note
|
ShowNoteCommand |
ShowNoteCommand.setObjectId(RevObject id)
Sets the object id of object you want a note on
|
TagCommand |
TagCommand.setObjectId(RevObject id)
Sets the object id of the tag.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ReverseWalk.ReverseCommit |
Modifier and Type | Method and Description |
---|---|
void |
PackWriter.addObject(RevObject object)
Include one object to the output file.
|
private void |
PackWriter.addObject(RevObject object,
int pathHashCode) |
private boolean |
PackWriter.depthSkip(RevObject obj,
ObjectWalk walker)
Determines if the object should be omitted from the pack as a result of
its depth (probably because of the tree:
|
boolean |
PackWriter.DepthAwareVisitationPolicy.shouldVisit(RevObject o) |
void |
PackWriter.DepthAwareVisitationPolicy.visited(RevObject o) |
Modifier and Type | Method and Description |
---|---|
void |
PackWriter.preparePack(java.util.Iterator<RevObject> objectsSource)
Prepare the list of objects to be written to the pack stream.
|
Modifier and Type | Method and Description |
---|---|
<T extends RevObject> |
TestRepository.parseBody(T object)
Ensure the body of the given object has been parsed.
|
Modifier and Type | Method and Description |
---|---|
RevObject |
TestRepository.get(RevTree tree,
java.lang.String path)
Lookup an entry stored in a tree, failing if not present.
|
Modifier and Type | Method and Description |
---|---|
private static void |
TestRepository.assertHash(RevObject id,
byte[] bin) |
void |
TestRepository.fsck(RevObject... tips)
Run consistency checks against the object database.
|
RevTag |
TestRepository.tag(java.lang.String name,
RevObject dst)
Construct an annotated tag object pointing at another object.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
HttpTestCase.fsck(Repository db,
RevObject... tips)
Run fsck
|
Modifier and Type | Method and Description |
---|---|
private static long |
LfsPrePushHook.getObjectSize(ObjectReader r,
RevObject obj) |
Modifier and Type | Method and Description |
---|---|
private RevObject |
Repository.parseSimple(RevWalk rw,
java.lang.String revstr) |
private static RevObject |
RefUpdate.safeParseNew(RevWalk rw,
AnyObjectId newId) |
private static RevObject |
RefUpdate.safeParseOld(RevWalk rw,
AnyObjectId oldId) |
Modifier and Type | Method and Description |
---|---|
void |
TagBuilder.setObjectId(RevObject obj)
Set the object this tag refers to, and infer its type.
|
Modifier and Type | Field and Description |
---|---|
protected RevObject[] |
Merger.sourceObjects
The original objects supplied in the merge; this can be any tree-ish.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RevList.show(ObjectWalk ow,
RevObject obj)
"Show" the current RevCommit when called from the main processing loop.
|
protected void |
RevWalkTextBuiltin.show(ObjectWalk objectWalk,
RevObject currentObject)
"Show" the current RevCommit when called from the main processing loop.
|
Modifier and Type | Method and Description |
---|---|
private static byte[] |
ShowPackDelta.getDelta(ObjectReader reader,
RevObject obj) |
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 |
---|---|
(package private) long |
PlotWalk.PlotRefComparator.timeof(RevObject o) |
Modifier and Type | Class and Description |
---|---|
class |
RevObjectList<E extends RevObject>
An ordered list of
RevObject subclasses. |
Modifier and Type | Class and Description |
---|---|
static class |
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.
|
class |
RevBlob
A binary file, or a symbolic link.
|
class |
RevCommit
A commit reference to a commit in the DAG.
|
class |
RevTag
An annotated tag.
|
class |
RevTree
A reference to a tree of subtrees/files.
|
Modifier and Type | Field and Description |
---|---|
(package private) RevObject |
ObjectWalk.TreeVisit.obj
The RevTree currently being iterated through.
|
private RevObject |
RevTag.object |
(package private) RevObject[] |
BlockObjQueue.Block.objects
Our table of queued objects.
|
Modifier and Type | Field and Description |
---|---|
(package private) ObjectIdOwnerMap<RevObject> |
RevWalk.objects |
private java.util.List<RevObject> |
ObjectWalk.rootObjects |
Modifier and Type | Method and Description |
---|---|
RevObject |
RevTag.getObject()
Get a reference to the object this tag was placed on.
|
RevObject |
RevWalk.lookupAny(AnyObjectId id,
int type)
Locate a reference to any object without loading it.
|
RevObject |
RevWalk.lookupOrNull(AnyObjectId id)
Locate an object that was previously allocated in this walk.
|
RevObject |
AsyncRevObjectQueue.next()
Obtain the next object.
|
(package private) RevObject |
BlockObjQueue.next() |
RevObject |
ObjectWalk.nextObject()
Pop the next most recent object.
|
RevObject |
RevWalk.parseAny(AnyObjectId id)
Locate a reference to any object and immediately parse its headers.
|
private RevObject |
RevWalk.parseNew(AnyObjectId id,
ObjectLoader ldr) |
RevObject |
RevWalk.peel(RevObject obj)
Peel back annotated tags until a non-tag object is found.
|
(package private) RevObject |
BlockObjQueue.Block.pop() |
private RevObject |
ObjectWalk.pushTree(RevObject obj) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
BlockObjQueue.add(RevObject c) |
(package private) void |
BlockObjQueue.Block.add(RevObject c) |
private void |
ObjectWalk.addObject(RevObject o) |
(package private) byte[] |
RevWalk.getCachedBytes(RevObject obj) |
(package private) byte[] |
RevWalk.getCachedBytes(RevObject obj,
ObjectLoader ldr) |
void |
DepthWalk.ObjectWalk.markRoot(RevObject o)
Mark a root commit (i.e., one whose depth should be considered 0.)
|
void |
ObjectWalk.markStart(RevObject o)
Mark an object or commit to start graph traversal from.
|
void |
ObjectWalk.markUninteresting(RevObject o)
Mark an object to not produce in the output.
|
void |
DepthWalk.ObjectWalk.markUnshallow(RevObject c)
Mark an element which used to be shallow in the client, but which
should now be considered a full commit.
|
void |
RevWalk.parseBody(RevObject obj)
Ensure the object's full body content is available.
|
void |
RevWalk.parseHeaders(RevObject obj)
Ensure the object's critical headers have been parsed.
|
RevObject |
RevWalk.peel(RevObject obj)
Peel back annotated tags until a non-tag object is found.
|
private RevObject |
ObjectWalk.pushTree(RevObject obj) |
boolean |
ObjectWalk.VisitationPolicy.shouldVisit(RevObject o)
Whenever the rev or object walk reaches a Git object, if that object
already exists as a RevObject, this method is called to determine if
that object should be visited.
|
void |
ObjectWalk.VisitationPolicy.visited(RevObject o)
Called when an object is visited.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<RevObject> |
UploadPack.commonBase
Objects on both sides, these don't have to be sent.
|
private java.util.Set<RevObject> |
UploadPack.wantAll
Objects the client wants to obtain.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<RevObject> |
UploadPack.objectIdsToRevObjects(RevWalk walk,
java.lang.Iterable<ObjectId> objectIds) |
Modifier and Type | Method and Description |
---|---|
private void |
UploadPack.addCommonBase(RevObject o) |
private void |
UploadPack.addTagChain(RevObject o,
PackWriter pw) |
private void |
BasePackFetchConnection.markCommon(RevObject obj,
PacketLineIn.AckNackResult anr) |
private void |
WalkFetchConnection.markLocalObjComplete(RevObject obj) |
private void |
WalkFetchConnection.needs(RevObject obj) |
private void |
WalkFetchConnection.processBlob(RevObject obj) |
private void |
WalkFetchConnection.processCommit(RevObject obj) |
private void |
WalkFetchConnection.processTag(RevObject obj) |
private void |
WalkFetchConnection.processTree(RevObject obj) |
private void |
UploadPack.want(RevObject obj) |
private boolean |
UploadPack.wantSatisfied(RevObject want) |
Modifier and Type | Method and Description |
---|---|
private static void |
UploadPack.checkReachabilityByWalkingObjects(ObjectWalk walk,
java.util.List<RevObject> wants,
java.util.Set<ObjectId> reachableFrom) |