DESCRIPTION

Clarify usage of refName parameter in CloneOperation

Refname is a name of either tag or branch according to [1].

Add tests for checking out tag and branch, extract utility method to
clone repo and check common assertions.

[1] https://www.kernel.org/pub/software/scm/git/docs/git-clone.html

Change-Id: I2e4a59edad8c5b0da0be402ab863f956c7162894
Signed-off-by: Ace Duncan xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2013-10-17 03:16:51.000000000

Patch Set 1:

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

-------------------------------------
author: Ace Duncan
date: 2013-10-17 03:31:15.000000000

Patch Set 1: Code-Review+1 IP-Clean+1

-------------------------------------
author: Brenden Conley
date: 2013-10-17 03:32:28.000000000

Patch Set 1: Code-Review-1

Build Unstable 

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

-------------------------------------
author: Douglas Trujillo
date: 2013-10-18 06:40:05.000000000

Patch Set 1: Code-Review-1

(1 comment)

Line:78, org.eclipse.egit.core/src/org/eclipse/egit/core/op/CloneOperation.java -> s/tag or branch/ref (usually tag or branch)/

usually refs are tags or branches but it's possible to have refs in another namespace e.g. refs/changes and refs/meta/config used in Gerrit

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