Class GitInfoCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.provider.git.gitexe.command.info.GitInfoCommand
- All Implemented Interfaces:
Command, GitCommand
Uses
git log command to retrieve info about the most recent commits related to specific files.- Since:
- 1.5
- Author:
- Olivier Lamy
-
Field Summary
FieldsFields inherited from class AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) protected InfoItemexecuteInfoCommand(org.codehaus.plexus.util.cli.Commandline cli, CommandParameters parameters, File scmFile) Methods inherited from class AbstractCommand
execute
-
Field Details
-
NO_REVISION_LENGTH
public static final int NO_REVISION_LENGTH- See Also:
-
-
Constructor Details
-
GitInfoCommand
public GitInfoCommand()
-
-
Method Details
-
executeCommand
protected ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
executeInfoCommand
protected InfoItem executeInfoCommand(org.codehaus.plexus.util.cli.Commandline cli, CommandParameters parameters, File scmFile) throws ScmException - Throws:
ScmException
-