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.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.pgm.debug |
Modifier and Type | Field and Description |
---|---|
private RawText |
BlameResult.resultContents |
(package private) RawText |
Candidate.sourceText
Complete contents of the file in
Candidate.sourceCommit . |
Modifier and Type | Method and Description |
---|---|
RawText |
BlameGenerator.getResultContents()
Get complete file contents of the result file blame is annotating
|
RawText |
BlameResult.getResultContents()
Get result contents
|
RawText |
BlameGenerator.getSourceContents()
Get complete contents of the source file blamed for the current output
region
|
Modifier and Type | Method and Description |
---|---|
BlameGenerator |
BlameGenerator.push(java.lang.String description,
RawText contents)
Push a candidate blob onto the generator's traversal stack.
|
Constructor and Description |
---|
BlameResult(BlameGenerator bg,
java.lang.String path,
RawText text) |
Modifier and Type | Field and Description |
---|---|
(package private) RawText |
DiffFormatter.FormatResult.a |
(package private) RawText |
DiffFormatter.FormatResult.b |
static RawText |
RawText.EMPTY_TEXT
A RawText of length 0
|
Modifier and Type | Method and Description |
---|---|
static RawText |
RawText.load(ObjectLoader ldr,
int threshold)
Read a blob object into RawText, or throw BinaryBlobException if the blob
is binary.
|
private RawText |
DiffFormatter.open(DiffEntry.Side side,
DiffEntry entry) |
Modifier and Type | Method and Description |
---|---|
private EditList |
DiffFormatter.diff(RawText a,
RawText b) |
void |
DiffFormatter.format(EditList edits,
RawText a,
RawText b)
Formats a list of edits in unified diff format
|
void |
DiffFormatter.format(FileHeader head,
RawText a,
RawText b)
Format a patch script, reusing a previously parsed FileHeader.
|
int |
RawTextComparator.hash(RawText seq,
int lno) |
private static boolean |
DiffFormatter.isEndOfLineMissing(RawText text,
int line) |
Edit |
RawTextComparator.reduceCommonStartEnd(RawText a,
RawText b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
protected void |
DiffFormatter.writeAddedLine(RawText text,
int line)
Output an added line.
|
protected void |
DiffFormatter.writeContextLine(RawText text,
int line)
Output a line of context (unmodified line).
|
protected void |
DiffFormatter.writeLine(char prefix,
RawText text,
int cur)
Write a standard patch script line.
|
protected void |
DiffFormatter.writeRemovedLine(RawText text,
int line)
Output a removed line
|
Modifier and Type | Field and Description |
---|---|
private MergeResult<RawText> |
MergeFormatterPass.res |
Modifier and Type | Method and Description |
---|---|
private RawText |
ResolveMerger.getRawText(ObjectId id,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
private MergeResult<RawText> |
ResolveMerger.contentMerge(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
Attributes attributes)
Does the content merge.
|
Modifier and Type | Method and Description |
---|---|
private void |
MergeFormatterPass.writeLine(RawText seq,
int i) |
Modifier and Type | Method and Description |
---|---|
private TemporaryBuffer |
ResolveMerger.doMerge(MergeResult<RawText> result) |
void |
MergeFormatter.formatMerge(java.io.OutputStream out,
MergeResult<RawText> res,
java.util.List<java.lang.String> seqName,
java.nio.charset.Charset charset)
Formats the results of a merge of
RawText
objects in a Git conformant way. |
void |
MergeFormatter.formatMerge(java.io.OutputStream out,
MergeResult<RawText> res,
java.util.List<java.lang.String> seqName,
java.lang.String charsetName)
Deprecated.
|
private void |
ResolveMerger.updateIndex(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
MergeResult<RawText> result,
Attributes attributes)
Updates the index after a content merge has happened.
|
Constructor and Description |
---|
MergeFormatterPass(java.io.OutputStream out,
MergeResult<RawText> res,
java.util.List<java.lang.String> seqName,
java.nio.charset.Charset charset) |
Modifier and Type | Field and Description |
---|---|
private RawText |
TextHashFunctions.Line.txt |
Modifier and Type | Method and Description |
---|---|
boolean |
TextHashFunctions.Hash.equals(RawText a,
int ai,
RawText b,
int bi) |
private void |
DiffAlgorithms.testOne(DiffAlgorithms.Test test,
RawText a,
RawText b) |
private static void |
TextHashFunctions.testOne(TextHashFunctions.Function fun,
RawText txt,
int[] elements,
int cnt) |
Constructor and Description |
---|
Line(RawText txt,
int pos) |