[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] setURI adds additional slash


On Feb 19, 2019, at 12:57, Zgeras, Ioannis <Ioannis.Zgeras@xxxxxxx> wrote:
 
I am trying to clone a repo via ssh, but jgit adds an additional slash to the URI. This is the error msg I get:
 
Caused by: org.eclipse.jgit.errors.NotSupportedException: URI not supported: ssh:///git@xxxxxxxxxxxxx:tuigroup/reponame.git
 
And this is the code were I add the URI:
 

This URI doesn't look correct. Should probably be ssh://git@xxxxxxxxxxxxx/tuigroup/reponame.git . After the ":", a port number is expected.

Cheers,

  Thomas