Browse Source

Align docstring for RepoCommand.setRecordRemoteBranch with argument

Change-Id: Ia3aa1130795d162e482b4088f190956d70857244
Signed-off-by: Stefan Beller <sbeller@google.com>
stable-4.2
Stefan Beller 9 years ago
parent
commit
cd1b00e3fc
  1. 6
      org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

6
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java

@ -329,12 +329,12 @@ public class RepoCommand extends GitCommand<RevCommit> {
* <p>
* Not implemented for non-bare repositories.
*
* @param record Whether to record the branch name
* @param enable Whether to record the branch name
* @return this command
* @since 4.2
*/
public RepoCommand setRecordRemoteBranch(boolean update) {
this.recordRemoteBranch = update;
public RepoCommand setRecordRemoteBranch(boolean enable) {
this.recordRemoteBranch = enable;
return this;
}

Loading…
Cancel
Save