diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java index acbf3f10aa..4fe050b2a3 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java @@ -202,8 +202,7 @@ public class PullCommand extends GitCommand<PullResult> { FetchCommand fetch = new FetchCommand(repo); fetch.setRemote(remote); - if (monitor != null) - fetch.setProgressMonitor(monitor); + fetch.setProgressMonitor(monitor); fetch.setTimeout(this.timeout); fetchRes = fetch.call(); |