]> source.dussan.org Git - jgit.git/commit
SubmoduleUpdateCommand: Add fetch callback 69/105169/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 15 Sep 2017 03:44:10 +0000 (12:44 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 20 Sep 2017 19:49:47 +0000 (21:49 +0200)
commite32aed6d7536ca569a3b8fbd7daef3d7c827ce8c
treef17ab3e47572a0ef5a0b5f51c02a2ea162ffdf9e
parent06835f3e4f0053bb4b39baa02ba4ec32abf3085e
SubmoduleUpdateCommand: Add fetch callback

When the submodule already exists, it is fetched instead of
cloned.

Use the fetch callback instead of clone callback in this case.

Change-Id: I170c21ab92b4117f25fdf940fe6807f214b04d39
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleUpdateCommand.java