Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] ColneCommand won't clone all branches

On Wed, May 4, 2011 at 2:58 PM, Akos Tajti <akos.tajti@xxxxxxxxx> wrote:
> The source repository (in src.getPath() directory) has two branches: master
> and branch_a. The above code executes without exception, but the cloned
> repository contains only branch_a. Is there a bug here or I miss something?

It should work, can you write a test that causes your scenario to fail
in CloneCommandTest?

http://egit.eclipse.org/w/?p=jgit.git;a=blob;f=org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java;h=f21dc4a0be0680f105e84f168fdcc138997b0743;hb=HEAD

-- 
Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 512 961 6719


Back to the top