Class GitBlameConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.git.gitexe.command.blame.GitBlameConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
Parses the --porcelain format of git-blame
For more information about the porcelain format, please read the official
GIT blame porcelain format description.
- Since:
- 1.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringSince the porcelain format only contains the commit information the first time a specific sha-1 commit appears, we need to store this information somwehere.private Stringprivate booleanprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate Stringprivate DateFields inherited from class AbstractConsumer
logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractConsumer
parseDate, parseDate
-
Field Details
-
GIT_COMMITTER_PREFIX
- See Also:
-
GIT_COMMITTER
- See Also:
-
GIT_COMMITTER_TIME
- See Also:
-
GIT_AUTHOR
- See Also:
-
lines
-
commitInfo
-
expectRevisionLine
private boolean expectRevisionLine -
revision
-
author
-
committer
-
time
-
-
Constructor Details
-
GitBlameConsumer
public GitBlameConsumer()
-
-
Method Details
-
consumeLine
-
getLines
-