Browse Source

Merge "Correct comment on CloneCommand.setRemote method."

tags/v1.1.0.201109011030-rc2
Shawn Pearce 12 years ago
parent
commit
ac9d9ee96d
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java

+ 6
- 1
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java View File

@@ -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) {

Loading…
Cancel
Save