Select "ssh" protocol also for git-style URLs without scheme
commit4d1ce3822848d936087db28543dad3bdd64db49b
authorThomas Wolf <thomas.wolf@paranor.ch>
Thu, 1 Feb 2018 19:17:12 +0000 (1 20:17 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Thu, 1 Feb 2018 19:30:29 +0000 (1 20:30 +0100)
treeab426b1b490fabcaf9eb4210da45594ff43267f3
parentaa3435bfae23b2638768f613373549b8a163dd66
Select "ssh" protocol also for git-style URLs without scheme

Don't use the URI's scheme to select the item but determine the
protocol from the URI and then use that protocol's default scheme
instead. After all the dropdown is populated with the default
schemes.

Bug: 530625
Change-Id: Id6b0f165918280405f1196c770e3efb67f19917b
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java