Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2012-10-09 20:51:34 +0000
committerGerrit Code Review @ Eclipse.org2012-10-09 20:51:34 +0000
commit14164e040c5b2bb31ba68754516045253be81506 (patch)
treeecd267146779b93c60ac8ed8a0ad87e031645705
parent79f33419ec073edf31a1db16ae9b11e69ee997a1 (diff)
parent9a979a36814db0dd38229f3eca8be7fbd54ea3bd (diff)
downloadjgit-14164e040c5b2bb31ba68754516045253be81506.tar.gz
jgit-14164e040c5b2bb31ba68754516045253be81506.tar.xz
jgit-14164e040c5b2bb31ba68754516045253be81506.zip
Merge "Make BlameGenerator comments more clear"
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java b/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
index ebb5897179..cea719ad70 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
@@ -76,7 +76,7 @@ import org.eclipse.jgit.treewalk.filter.PathFilter;
import org.eclipse.jgit.treewalk.filter.TreeFilter;
/**
- * Generate author information for lines based on introduction to the file.
+ * Generate author information for lines based on a provided file.
* <p>
* Applications that want a simple one-shot computation of blame for a file
* should use {@link #computeBlameResult()} to prepare the entire result in one
@@ -144,12 +144,14 @@ public class BlameGenerator {
private Candidate currentSource;
/**
- * Create a blame generator for the repository and path
- *
+ * Create a blame generator for the repository and path (relative to
+ * repository)
+ *
* @param repository
* repository to access revision data from.
* @param path
- * initial path of the file to start scanning.
+ * initial path of the file to start scanning (relative to the
+ * repository).
*/
public BlameGenerator(Repository repository, String path) {
this.repository = repository;

Back to the top