public class JGitBranchCommand extends AbstractBranchCommand implements GitCommand
| Constructor and Description |
|---|
JGitBranchCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected ScmResult |
executeBranchCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
java.lang.String branch,
java.lang.String message) |
static java.util.Set<java.lang.String> |
getShortLocalBranchNames(org.eclipse.jgit.api.Git git)
gets a set of names of the available branches in the given repo
|
executeBranchCommand, executeCommandexecute, getLogger, setLoggerprotected ScmResult executeBranchCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String branch, java.lang.String message) throws ScmException
executeBranchCommand in class AbstractBranchCommandScmExceptionpublic static java.util.Set<java.lang.String> getShortLocalBranchNames(org.eclipse.jgit.api.Git git)
throws org.eclipse.jgit.api.errors.GitAPIException
git - the repo to list the branches fororg.eclipse.jgit.api.errors.GitAPIException