Community
Participate
Working Groups
0.2 M7 If I attempt to clone a git repository, but fail to enter a passphrase for my private key, I just see the error: error An internal git error cloning git remote This isn't very helpful. It should at least say in the message that my passphrase is wrong. Even better would be to reopen the "git clone" dialog with all the information filled in, so I don't have start over from scratch. For what it's worth, I tried again on localhost, and I can see this message in my log, so we just need to get that message transferred to the client: org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://git@github.com:22: Passphrase for identity at org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider.get(UsernamePasswordCredentialsProvider.java:110) at org.eclipse.jgit.transport.CredentialsProviderUserInfo.promptPassphrase(CredentialsProviderUserInfo.java:98) at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:116) at com.jcraft.jsch.Session.connect(Session.java:425) at org.eclipse.orion.server.jsch.SessionHandler.connect(SessionHandler.java:82) at org.eclipse.orion.server.git.GitSshSessionFactory.getSession(GitSshSessionFactory.java:54) at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:122) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:165) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:114)
Done, but we should handle it better on UI, see Bug 345168.