Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316612 - Unable to see repository branches during clone
Summary: Unable to see repository branches during clone
Status: CLOSED WORKSFORME
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 09:57 EDT by Trevor Brown CLA
Modified: 2010-09-03 10:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Brown CLA 2010-06-11 09:57:10 EDT
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)
Comment 1 Matthias Sohn CLA 2010-08-30 21:33:13 EDT
- 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 ?
Comment 2 Trevor Brown CLA 2010-08-31 08:35:20 EDT
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.
Comment 3 Matthias Sohn CLA 2010-09-01 18:29:51 EDT
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
Comment 4 Trevor Brown CLA 2010-09-03 10:49:08 EDT
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.