diff options
| author | Jens Baumgart | 2010-08-12 15:56:54 +0000 |
|---|---|---|
| committer | Jens Baumgart | 2010-08-12 15:56:54 +0000 |
| commit | df24270b3a1510b4115ff1314da850a75659bf58 (patch) | |
| tree | 84179e6c1de76b31f0e05c6b2fd1f0ee396758c6 | |
| parent | 1d62333e341a33c7260cf1ea159fbcbd90182652 (diff) | |
| download | egit-df24270b3a1510b4115ff1314da850a75659bf58.tar.gz egit-df24270b3a1510b4115ff1314da850a75659bf58.tar.xz egit-df24270b3a1510b4115ff1314da850a75659bf58.zip | |
Fix bug in progress reporting of PushOperation
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.java | 1 |
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 217db801d4..3404696d43 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 |
