Skip to main content

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

Hi,

 

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:

 

cloneCommand.setURI( "ssh://git@xxxxxxxxxxxxx:tuigroup/reponame.git" );

 

Adding only one slash doesn’t help, cause then it doesn’t add an additional slash.

 

Any idea what I’m doing wrong?

 

Thanks

 

John

 


Back to the top