diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js
@@ -152,7 +152,7 @@ var exports = {};
 		}
 	};
 	
-	displayErrorOnStatus = 	function (error) {
+	function displayErrorOnStatus(error) {
 						serviceRegistry.getService("orion.page.message").then(function(progressService){
 						
 						if(error.status===401 || error.status===403)
Bug <I> - [client] UI should inform the user when checkout failed - displayError function shouldn't be global