Bug 349027 -[client] "Clone Git Repository" should ask for password OR key+passphrase, not both
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js b/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js
index b831a25..552cb3b 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js
@@ -90,8 +90,8 @@
 		if(this._sshService){
 			var self = this;
 			this._sshService.getKnownHosts().then(function(knownHosts){
-				self.options.func({ gitSshUsername: self.gitSshUsername.value, gitSshPassword: self.isSshPassword.checked ? self.gitSshPassword.value : undefined,
-					gitPrivateKey: self.isPrivateKey.checked ? self.gitPrivateKey.value : undefined, gitPassphrase: self.isPrivateKey.checked ? self.gitPassphrase.value: undefined,
+				self.options.func({ gitSshUsername: self.gitSshUsername.value, gitSshPassword: self.isSshPassword.checked ? self.gitSshPassword.value : "",
+					gitPrivateKey: self.isPrivateKey.checked ? self.gitPrivateKey.value : "", gitPassphrase: self.isPrivateKey.checked ? self.gitPassphrase.value: "",
 					knownHosts: knownHosts});
 			});