public class GitInfoCommand extends AbstractCommand implements GitCommand
git log
command to retrieve info about the most recent commits related to specific files.Modifier and Type | Field and Description |
---|---|
static int |
NO_REVISION_LENGTH |
logger
Constructor and Description |
---|
GitInfoCommand() |
Modifier and Type | Method and Description |
---|---|
protected ScmResult |
executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
protected InfoItem |
executeInfoCommand(org.codehaus.plexus.util.cli.Commandline cli,
CommandParameters parameters,
File scmFile) |
execute
public static final int NO_REVISION_LENGTH
public GitInfoCommand()
protected ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
executeCommand
in class AbstractCommand
ScmException
protected InfoItem executeInfoCommand(org.codehaus.plexus.util.cli.Commandline cli, CommandParameters parameters, File scmFile) throws ScmException
ScmException
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.