diff options
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java index 682455077f..4d81e86ef6 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java @@ -456,6 +456,19 @@ public class Git { } /** + * Returns a command object to execute a {@code blame} command + * + * @see <a + * href="http://www.kernel.org/pub/software/scm/git/docs/git-blame.html" + * >Git documentation about Blame</a> + * @return a {@link BlameCommand} used to collect all optional parameters + * and to finally execute the {@code blame} command + */ + public BlameCommand blame() { + return new BlameCommand(repo); + } + + /** * @return the git repository this class is interacting with */ public Repository getRepository() { |