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 acbf3f10a..4fe050b2a 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 { FetchCommand fetch = new FetchCommand(repo); fetch.setRemote(remote); - if (monitor != null) - fetch.setProgressMonitor(monitor); + fetch.setProgressMonitor(monitor); fetch.setTimeout(this.timeout); fetchRes = fetch.call();