static final class Candidate.ReverseCandidate extends Candidate
Reverse blame inverts the commit history graph to follow from a commit to
its descendant children, rather than the normal history direction of
child to parent. These types require a ReverseWalk.ReverseCommit
which keeps
children pointers, allowing reverse navigation of history.
Candidate.BlobCandidate, Candidate.HeadCandidate, Candidate.ReverseCandidate
queueNext, regionList, renameScore, sourceBlob, sourceCommit, sourcePath, sourceText
Constructor and Description |
---|
ReverseCandidate(Repository repo,
ReverseWalk.ReverseCommit commit,
PathFilter path) |
Modifier and Type | Method and Description |
---|---|
(package private) Candidate |
create(Repository repo,
RevCommit commit,
PathFilter path) |
(package private) RevCommit |
getParent(int idx) |
(package private) int |
getParentCount() |
(package private) int |
getTime() |
java.lang.String |
toString() |
add, beginResult, canMergeRegions, copy, getAuthor, getNextCandidate, has, loadText, mergeRegions, remove, takeBlame
ReverseCandidate(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path)
int getParentCount()
getParentCount
in class Candidate
Candidate create(Repository repo, RevCommit commit, PathFilter path)