Community
Participate
Working Groups
Build Identifier: M20100211-1343 Cloning a repository over ssh, I am not seeing *any* remote branches for my repository. In cygwin I can use the git cli and clone just fine. I can link up egit with a repository I have already cloned (same one as I am trying to clone using eclipse). I see the expected MOTD coming back from the server, and if I change the repo path to something invalid I *do* get an error indicating that the repo is not found. I have tried with both keyboard interactive auth and using my ssh keys. Reproducible: Always Steps to Reproduce: 1. File > import > git > git repository 2. Enter information (verified same url, etc. as cli git in cygwin) 3. Log in 4. Branch selection list is empty (not even master listed)
- Which version of EGit/JGit are you using ? - Do you hit this problem also with latest nightly build of EGit ? - Is this a public repo so that we could give it a try to reproduce the problem ?
It was whatever was most current in the eclipse repositories two and a half months ago. The repository in question is very much private, and to be honest I haven't used egit since then, because it was really kind of a showstopper... so I have no idea whether it was happening with the nightlies back then. More than likely if you can't reproduce now, it was fixed somewhere along the way.
Could you try to clone JGit via ssh to check if this works for you ? - register as described in EGit contributors guide here http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches and upload your public ssh key to gerrit in order to have a user on our end - try to clone ssh://<your user id>@egit.eclipse.org:29418/jgit.git via ssh using latest EGit version I tried this successfully
If it works for you, I have no objections to closing the bug. I'm sure a lot has changed in two and a half months. I quit using egit at the time I filed the bug because this was only one of the many problems I had with it, and I have no intention of trying it again until it's much more finished.