/** * Return a command object to execute a {@code submodule sync} command * * @return a {@link org.eclipse.jgit.api.SubmoduleSyncCommand} used to * update the URL of a submodule from the parent repository's * .gitmodules file */ public SubmoduleSyncCommand submoduleSync() { return new SubmoduleSyncCommand(repo); }
checkCallable(); branch = getHeadBranch(subRepo); String remote = null; if (branch != null) {
/** * submoduleSync. * * @throws hudson.plugins.git.GitException if underlying git operation fails. * @throws java.lang.InterruptedException if interrupted. */ @Deprecated @Override public void submoduleSync() throws GitException, InterruptedException { try (Repository repo = getRepository()) { git(repo).submoduleSync().call(); } catch (GitAPIException e) { throw new GitException(e); } }
public Map<String, String> call() throws GitAPIException { checkCallable(); branch = getHeadBranch(subRepo); String remote = null; if (branch != null)
checkCallable(); branch = getHeadBranch(subRepo); String remote = null; if (branch != null) {
/** * Return a command object to execute a {@code submodule sync} command * * @return a {@link org.eclipse.jgit.api.SubmoduleSyncCommand} used to * update the URL of a submodule from the parent repository's * .gitmodules file */ public SubmoduleSyncCommand submoduleSync() { return new SubmoduleSyncCommand(repo); }
/** * Returns a command object to execute a {@code submodule sync} command * * @return a {@link SubmoduleSyncCommand} used to update the URL of a * submodule from the parent repository's .gitmodules file */ public SubmoduleSyncCommand submoduleSync() { return new SubmoduleSyncCommand(repo); }