]> source.dussan.org Git - jgit.git/commit
Add parameters for timeout and branches to clone 09/3009/2
authorStefan Lay <stefan.lay@sap.com>
Wed, 6 Apr 2011 12:08:25 +0000 (14:08 +0200)
committerStefan Lay <stefan.lay@sap.com>
Wed, 6 Apr 2011 13:00:22 +0000 (15:00 +0200)
commitfbf35fea4ec254339f9b0eee7865eb6ccfe22700
treeb9c1ef896e2058a66cb4f8bb9f17dda5b7679df5
parent792b93bc62bb3714eb04ccf6e0c800d3b5b85f5b
Add parameters for timeout and branches to clone

The timeout is also used in the FetchCommand called by the
CloneCommand.

The possibility to provide a list of branches to fetch initially is a
feature offered by EGit. To implement it here is a prerequisite for
EGit to be able to use the CloneCommand.

Change-Id: I21453de22e9ca61919a7c3386fcc526024742f5f
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java