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 cfbcbf1b6..29dd6e90c 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 CloneCommand setBare(boolean bare) { } /** + * 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 + * Constants.DEFAULT_REMOTE_NAME 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) {