DESCRIPTION

Accept git clone command as URI

It happens regularly that I copy/paste a complete git clone command from
a website into the clone wizard instead of just the URI. This change
makes the dialog accept such input by automatically stripping the prefix
"git clone ".

Change-Id: I0baf9472a4210bca59b8a8e64148e4a61cfc1354
Signed-off-by: Jack Yu xxx@xxx.xxx


COMMENTS

author: Jack Yu
date: 2015-01-26 18:00:00.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2015-01-26 18:00:06.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6666/

-------------------------------------
author: Brenden Conley
date: 2015-01-26 18:15:52.000000000

Patch Set 2: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/6666/ : SUCCESS

-------------------------------------
author: Douglas Trujillo
date: 2015-01-26 22:26:40.000000000

Patch Set 2: Code-Review-1

(2 comments)

Line:860, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java -> you need to first trim input otherwise this doesn't match if input starts with whitespace

Line:297, org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java -> add some more whitespace to test the general case or add some more tests for this

-------------------------------------
author: Jack Yu
date: 2015-01-27 08:14:18.000000000

Patch Set 2:

(2 comments)

Line:860, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java -> Done

Line:297, org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java -> Done

-------------------------------------
