Package | Description |
---|---|
org.eclipse.jgit.blame |
Computing blame/annotate information of files.
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.patch |
Patch file parser and data structure.
|
Modifier and Type | Method and Description |
---|---|
private static void |
Candidate.blame(EditList editList,
Candidate a,
Candidate b) |
(package private) void |
Candidate.takeBlame(EditList editList,
Candidate child) |
Modifier and Type | Field and Description |
---|---|
(package private) EditList |
HistogramDiff.State.edits
Result edits we have determined that must be made to convert a to b.
|
protected EditList |
MyersDiff.edits
The list of edits found during the last call to
MyersDiff.calculateEdits(Edit) |
Modifier and Type | Method and Description |
---|---|
private EditList |
DiffFormatter.diff(RawText a,
RawText b) |
<S extends Sequence> |
DiffAlgorithm.diff(SequenceComparator<? super S> cmp,
S a,
S b)
Compare two sequences and identify a list of edits between them.
|
abstract <S extends Sequence> |
DiffAlgorithm.diffNonCommon(SequenceComparator<? super S> cmp,
S a,
S b)
Compare two sequences and identify a list of edits between them.
|
<S extends Sequence> |
LowLevelDiffAlgorithm.diffNonCommon(SequenceComparator<? super S> cmp,
S a,
S b)
Compare two sequences and identify a list of edits between them.
|
private static <S extends Sequence> |
DiffAlgorithm.normalize(SequenceComparator<? super S> cmp,
EditList e,
S a,
S b)
Reorganize an
EditList for better diff consistency. |
static EditList |
EditList.singleton(Edit edit)
Construct an edit list containing a single edit.
|
static <S extends Sequence> |
Subsequence.toBase(EditList edits,
Subsequence<S> a,
Subsequence<S> b)
Adjust the Edits to reflect positions in the base sequence.
|
Modifier and Type | Method and Description |
---|---|
<S extends Sequence> |
HistogramDiff.diffNonCommon(EditList edits,
HashedSequenceComparator<S> cmp,
HashedSequence<S> a,
HashedSequence<S> b,
Edit region)
Compare two sequences and identify a list of edits between them.
|
abstract <S extends Sequence> |
LowLevelDiffAlgorithm.diffNonCommon(EditList edits,
HashedSequenceComparator<S> cmp,
HashedSequence<S> a,
HashedSequence<S> b,
Edit region)
Compare two sequences and identify a list of edits between them.
|
void |
DiffFormatter.format(EditList edits,
RawText a,
RawText b)
Formats a list of edits in unified diff format
|
private static <S extends Sequence> |
DiffAlgorithm.normalize(SequenceComparator<? super S> cmp,
EditList e,
S a,
S b)
Reorganize an
EditList for better diff consistency. |
static <S extends Sequence> |
Subsequence.toBase(EditList edits,
Subsequence<S> a,
Subsequence<S> b)
Adjust the Edits to reflect positions in the base sequence.
|
Constructor and Description |
---|
MyersDiff(EditList edits,
HashedSequenceComparator<S> cmp,
HashedSequence<S> a,
HashedSequence<S> b,
Edit region) |
State(EditList edits,
HashedSequenceComparator<S> cmp,
HashedSequence<S> a,
HashedSequence<S> b) |
Modifier and Type | Field and Description |
---|---|
private EditList |
HunkHeader.editList |
Modifier and Type | Method and Description |
---|---|
EditList |
HunkHeader.toEditList()
Convert to a list describing the content edits performed within the hunk.
|
EditList |
FileHeader.toEditList()
Convert to a list describing the content edits performed on this file.
|
Constructor and Description |
---|
FileHeader(byte[] headerLines,
EditList edits,
FileHeader.PatchType type)
Constructs a new FileHeader
|
HunkHeader(FileHeader fh,
EditList editList) |