Browse Source

Merger: clarify getBaseCommit javadoc

Change-Id: Ic52475248a545d51d3d8ac31a24f0344a1241e45
tags/v3.5.0.201409071800-rc1
Dave Borowitz 11 years ago
parent
commit
fa5582f3fe
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      org.eclipse.jgit/src/org/eclipse/jgit/merge/Merger.java

+ 6
- 2
org.eclipse.jgit/src/org/eclipse/jgit/merge/Merger.java View File

@@ -193,11 +193,15 @@ public abstract class Merger {

/**
* Return the merge base of two commits.
* <p>
* May only be called after {@link #merge(RevCommit...)}.
*
* @param aIdx
* index of the first commit in {@link #sourceObjects}.
* index of the first commit in tips passed to
* {@link #merge(RevCommit...)}.
* @param bIdx
* index of the second commit in {@link #sourceObjects}.
* index of the second commit in tips passed to
* {@link #merge(RevCommit...)}.
* @return the merge base of two commits
* @throws IncorrectObjectTypeException
* one of the input objects is not a commit.

Loading…
Cancel
Save