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-25 09:08:10.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2015-01-25 09:08:16.000000000

Patch Set 1:

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

-------------------------------------
author: Brenden Conley
date: 2015-01-25 09:23:58.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6663/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2015-01-25 15:08:54.000000000

Patch Set 1: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2015-01-25 15:24:35.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6664/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2015-01-25 22:20:50.000000000

Patch Set 1: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2015-01-25 22:35:42.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6665/ : UNSTABLE

-------------------------------------
author: Douglas Trujillo
date: 2015-01-25 23:26:08.000000000

Patch Set 1: Code-Review-1

(3 comments)

Line:757, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java -> move trimming into the stripGitCloneCommand

we should tolerate also additional whitespace between "git clone " and the url

Line:1001, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java -> shouldn't we also trim here ?

Line:293, org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java -> style nit: remove this unnecessary blank line

-------------------------------------
author: Jack Yu
date: 2015-01-26 17:59:14.000000000

Patch Set 1:

(3 comments)

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

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

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

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