for (String path : paths)
init.addPath(path);
init.call();
pm.worked(1);
SubmoduleUpdateCommand update = git.submoduleUpdate();
for (String path : paths)
update.addPath(path);
update.setProgressMonitor(new EclipseGitProgressTransformer(
new SubProgressMonitor(pm, 2)));
updated = update.call();