public class JGitCheckInCommand extends AbstractCheckInCommand implements GitCommand
git config --global maven-scm.maildomain mycomp.com
git config --global maven-scm.forceUsername true
Modifier and Type | Class and Description |
---|---|
private static class |
JGitCheckInCommand.UserInfo |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
GIT_FORCE |
protected static java.lang.String |
GIT_MAILDOMAIN |
protected static java.lang.String |
GIT_MAVEN_SECTION |
NAME
Constructor and Description |
---|
JGitCheckInCommand() |
Modifier and Type | Method and Description |
---|---|
protected CheckInScmResult |
executeCheckInCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
java.lang.String message,
ScmVersion version) |
private JGitCheckInCommand.UserInfo |
getAuthor(ScmProviderRepository repo,
org.eclipse.jgit.api.Git git) |
private JGitCheckInCommand.UserInfo |
getCommitter(ScmProviderRepository repo,
org.eclipse.jgit.api.Git git) |
private java.lang.String |
getHostname() |
executeCommand
execute, getLogger, setLogger
protected static final java.lang.String GIT_MAVEN_SECTION
protected static final java.lang.String GIT_MAILDOMAIN
protected static final java.lang.String GIT_FORCE
protected CheckInScmResult executeCheckInCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String message, ScmVersion version) throws ScmException
executeCheckInCommand
in class AbstractCheckInCommand
ScmException
private JGitCheckInCommand.UserInfo getCommitter(ScmProviderRepository repo, org.eclipse.jgit.api.Git git)
private JGitCheckInCommand.UserInfo getAuthor(ScmProviderRepository repo, org.eclipse.jgit.api.Git git)
private java.lang.String getHostname()