summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2011-08-13 17:00:29 -0400
committerCode Review <codereview-daemon@eclipse.org>2011-08-13 17:00:29 -0400
commitac9d9ee96de528e6042c079217a656307dde5f8b (patch)
treee26deba0dd61178176c41d58f25536080b3c2f22 /org.eclipse.jgit
parent895af1480d593d3c2cb4336875c163e47c42e52f (diff)
parent4ae9d47130012f9a1b471e05397253355c25c1ff (diff)
downloadjgit-ac9d9ee96de528e6042c079217a656307dde5f8b.tar.gz
jgit-ac9d9ee96de528e6042c079217a656307dde5f8b.zip
Merge "Correct comment on CloneCommand.setRemote method."
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java
index cfbcbf1b6d..29dd6e90c3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java
@@ -301,8 +301,13 @@ public class CloneCommand implements Callable<Git> {
}
/**
+ * The remote name used to keep track of the upstream repository for the
+ * clone operation. If no remote name is set, the default value of
+ * <code>Constants.DEFAULT_REMOTE_NAME</code> will be used.
+ *
+ * @see Constants#DEFAULT_REMOTE_NAME
* @param remote
- * the branch to keep track of in the origin repository
+ * name that keeps track of the upstream repository
* @return this instance
*/
public CloneCommand setRemote(String remote) {