aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Baumgart2010-08-12 11:56:54 (EDT)
committerJens Baumgart2010-08-12 11:56:54 (EDT)
commitdf24270b3a1510b4115ff1314da850a75659bf58 (patch)
tree84179e6c1de76b31f0e05c6b2fd1f0ee396758c6
parent1d62333e341a33c7260cf1ea159fbcbd90182652 (diff)
downloadegit-df24270b3a1510b4115ff1314da850a75659bf58.zip
egit-df24270b3a1510b4115ff1314da850a75659bf58.tar.gz
egit-df24270b3a1510b4115ff1314da850a75659bf58.tar.bz2
Fix bug in progress reporting of PushOperationrefs/changes/91/1291/1
Added missing monitor.worked. Change-Id: I6cce946766acefd1e6add192e45787c1f6497d43 Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/PushOperation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/PushOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/PushOperation.java
index 217db80..3404696 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/PushOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/PushOperation.java
@@ -148,6 +148,7 @@ public class PushOperation {
final PushResult pr = transport.push(gitSubMonitor,
specification.getRefUpdates(uri));
operationResult.addOperationResult(uri, pr);
+ monitor.worked(WORK_UNITS_PER_TRANSPORT);
} catch (final NoRemoteRepositoryException e) {
operationResult.addOperationResult(uri, NLS.bind(
CoreText.PushOperation_resultNoServiceError, e