Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java')
-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) {

Back to the top