瀏覽代碼

Merger: clarify getBaseCommit javadoc

Change-Id: Ic52475248a545d51d3d8ac31a24f0344a1241e45
tags/v3.5.0.201409071800-rc1
Dave Borowitz 11 年之前
父節點
當前提交
fa5582f3fe
共有 1 個文件被更改,包括 6 次插入2 次删除
  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 查看文件

@@ -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…
取消
儲存