diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java index d298331f5..1d2d3bfaa 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java @@ -329,12 +329,12 @@ public class RepoCommand extends GitCommand { *

* 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; }