Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java')
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
index 62ab6d79ce..7470f4ccdc 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
@@ -98,9 +98,8 @@ public class GitResourceVariantTreeSubscriber extends
* @param monitor
*/
public void init(IProgressMonitor monitor) {
- monitor.beginTask(
- CoreText.GitResourceVariantTreeSubscriber_fetchTaskName,
- gsds.size());
+ monitor.setTaskName(
+ CoreText.GitResourceVariantTreeSubscriber_fetchTaskName);
try {
cache = GitSyncCache.getAllData(gsds, monitor);
} finally {

Back to the top