diff options
authorKevin Sawicki2011-08-05 14:02:10 (EDT)
committer Kevin Sawicki2011-08-05 14:02:10 (EDT)
commit4ae9d47130012f9a1b471e05397253355c25c1ff (patch)
parent1067f82f562231cca1a7d75c6f0c2d2ce04c7381 (diff)
Correct comment on CloneCommand.setRemote method.refs/changes/64/3964/2
The previous comment stated that the value set was used to keep track of the branch in the remote repository which was incorrect. Updated the method comment to match the format used for the PushCommand.setRemote and FetchCommand.setRemote methods. Change-Id: I11b81eb3125958af29247b485da56fd88c3bfdf5 Signed-off-by: Kevin Sawicki <>
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/ b/org.eclipse.jgit/src/org/eclipse/jgit/api/
index cfbcbf1..29dd6e9 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/
@@ -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) {