Improve presentation in project sharing dialog
commit55c70c32d3ba72950969327edbab0d14190ff8e3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 23 Jan 2011 11:46:28 +0000 (23 12:46 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 23 Jan 2011 18:29:51 +0000 (23 19:29 +0100)
treee4b1f96e2c9248e8942d0289ca40effde7a632ed
parent40a14c96ee8e3c0bd11e869ddec42b753ad25cfe
Improve presentation in project sharing dialog

Improve presentation of relative directories when there are multiple
choices for the .git directory. In particular the project was
presented as '/' instead of '.' for the case in the subject line of
this issue. It does not fix Bug 297163, but perhaps makes it less
likely that the user chooses the wrong .git directory.

We also add tests for this case.

Bug: 297163
Change-Id: Ic2475b46127ddcc977392beb48749a123bd7b800
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/ExistingOrNewPage.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/common/SharingWizard.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/share/SharingWizardTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java