From 4ae9d47130012f9a1b471e05397253355c25c1ff Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 5 Aug 2011 11:02:10 -0700 Subject: [PATCH] Correct comment on CloneCommand.setRemote method. 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 --- .../src/org/eclipse/jgit/api/CloneCommand.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) {