Package | Description |
---|---|
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.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 | Method and Description |
---|---|
RefUpdate.Result |
RefUpdate.delete(RevWalk walk)
Delete the ref.
|
void |
BatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor)
Execute this batch update.
|
RefUpdate.Result |
RefUpdate.update(RevWalk walk)
Gracefully update the ref to the new value.
|
void |
ObjectReader.walkAdviceBeginCommits(RevWalk walk,
Collection<RevCommit> roots)
Advice from a
RevWalk that a walk is starting from these roots. |
Modifier and Type | Field and Description |
---|---|
protected RevWalk |
Merger.walk
A RevWalk for computing merge bases, or listing incoming commits.
|
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) |
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 | Method and Description |
---|---|
RevWalk |
RevFlag.getRevWalk()
Get the revision walk instance this flag was created from.
|
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 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 List<Ref> |
RevWalkUtils.findBranchesReachableFrom(RevCommit commit,
RevWalk revWalk,
Collection<Ref> refs)
Find the list of branches a given commit is reachable from when following
parent.s
|
boolean |
TreeRevFilter.include(RevWalk walker,
RevCommit c) |
static RevTag |
RevTag.parse(RevWalk rw,
byte[] raw)
Parse an annotated tag from its canonical format.
|
static RevCommit |
RevCommit.parse(RevWalk rw,
byte[] raw)
Parse a commit from its canonical format.
|
void |
RevCommitList.source(RevWalk w)
Set the revision walker this list populates itself from.
|
Constructor and Description |
---|
TreeRevFilter(RevWalk walker,
TreeFilter t)
Create a
RevFilter from a TreeFilter . |
Modifier and Type | Method and Description |
---|---|
boolean |
SubStringRevFilter.include(RevWalk walker,
RevCommit cmit) |
boolean |
SkipRevFilter.include(RevWalk walker,
RevCommit cmit) |
abstract boolean |
RevFilter.include(RevWalk walker,
RevCommit cmit)
Determine if the supplied commit should be included in results.
|
boolean |
PatternMatchRevFilter.include(RevWalk walker,
RevCommit cmit) |
boolean |
NotRevFilter.include(RevWalk walker,
RevCommit c) |
boolean |
MaxCountRevFilter.include(RevWalk walker,
RevCommit cmit) |
Modifier and Type | Method and Description |
---|---|
RevWalk |
UploadPack.getRevWalk() |
RevWalk |
BaseReceivePack.getRevWalk() |
Modifier and Type | Method and Description |
---|---|
protected Set<ObjectId> |
AbstractAdvertiseRefsHook.getAdvertisedHaves(Repository repository,
RevWalk revWalk)
Get the additional haves to advertise.
|
protected abstract Map<String,Ref> |
AbstractAdvertiseRefsHook.getAdvertisedRefs(Repository repository,
RevWalk revWalk)
Get the refs to advertise.
|
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.
|
Copyright © 2014. All rights reserved.