bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js
function displayErrorOnStatus(error) {
			var display = {};
			display.Severity = "Error"; //$NON-NLS-0$
			display.HTML = false;
			
			try {
				var resp = JSON.parse(error.responseText);
				display.Message = resp.DetailedMessage ? resp.DetailedMessage : 
					(resp.Message ? resp.Message : messages["Problem while performing the action"]);
			} catch (Exception) {
				display.Message = messages["Problem while performing the action"];
			}
			
			serviceRegistry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
		}
function displayErrorOnStatus(error) {
			var display = {};
			display.Severity = "Error"; //$NON-NLS-0$
			display.HTML = false;
			
			try {
				var resp = JSON.parse(error.responseText);
				display.Message = resp.DetailedMessage ? resp.DetailedMessage : 
					(resp.Message ? resp.Message : messages["Problem while performing the action"]);
			} catch (Exception) {
				display.Message = messages["Problem while performing the action"];
			}
			
			serviceRegistry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
		}
function displayErrorOnStatus ( error ) { var display = { } ; display . Severity = "Error" ; //$NON-NLS-0$ display . HTML = false ; try { var resp = JSON . parse ( error . responseText ) ; display . Message = resp . DetailedMessage ? resp . DetailedMessage : ( resp . Message ? resp . Message : messages [ "Problem while performing the action" ] ) ; } catch ( Exception ) { display . Message = messages [ "Problem while performing the action" ] ; } serviceRegistry . getService ( "orion.page.message" ) . setProgressResult ( display ) ; //$NON-NLS-0$ }
make warning go away
make warning go away