Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 391839
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js (+1 lines)
Lines 2272-2277 Link Here
2272
							display.HTML = false;
2272
							display.HTML = false;
2273
							display.Message = message;
2273
							display.Message = message;
2274
							messageService.setProgressResult(display); //$NON-NLS-0$
2274
							messageService.setProgressResult(display); //$NON-NLS-0$
2275
							dispatchModelEventOn({type: "modelChanged", action: "applyPatch"});
2275
							return;
2276
							return;
2276
						}
2277
						}
2277
					} catch (e){
2278
					} catch (e){
(-)a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js (+5 lines)
Lines 108-113 Link Here
108
			case "stage": //$NON-NLS-0$
108
			case "stage": //$NON-NLS-0$
109
			case "unstage": //$NON-NLS-0$
109
			case "unstage": //$NON-NLS-0$
110
				break;
110
				break;
111
			case "applyPatch":
112
				that.repository.status = null;
113
				that.changes = null;
114
				that.setSelectedChanges(that.changes);
115
				break;
111
			case "cherrypick": //$NON-NLS-0$
116
			case "cherrypick": //$NON-NLS-0$
112
			default:
117
			default:
113
				that.changedItem();
118
				that.changedItem();
(-)a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js (+1 lines)
Lines 386-391 Link Here
386
		}
386
		}
387
		mGitCommands.getModelEventDispatcher().addEventListener("modelChanged", this._modelListener = function(event) { //$NON-NLS-0$
387
		mGitCommands.getModelEventDispatcher().addEventListener("modelChanged", this._modelListener = function(event) { //$NON-NLS-0$
388
			switch (event.action) {
388
			switch (event.action) {
389
			case "applyPatch":  //$NON-NLS-0$
389
			case "stage": //$NON-NLS-0$
390
			case "stage": //$NON-NLS-0$
390
			case "unstage": //$NON-NLS-0$
391
			case "unstage": //$NON-NLS-0$
391
				Deferred.when(this.model.root.repository.status, function(status) {
392
				Deferred.when(this.model.root.repository.status, function(status) {

Return to bug 391839