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 String
Since 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 String
private boolean
private static final String
private static final String
private static final String
private static final String
private String
private Date
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
Field Details
-
GIT_COMMITTER_PREFIX
- See Also:
-
GIT_COMMITTER
- See Also:
-
GIT_COMMITTER_TIME
- See Also:
-
GIT_AUTHOR
- See Also:
-
lines
-
commitInfo
Since the porcelain format only contains the commit information the first time a specific sha-1 commit appears, we need to store this information somwehere. key: the sha-1 of the commit value: theBlameLine
containing the full committer/author info -
expectRevisionLine
private boolean expectRevisionLine -
revision
-
author
-
committer
-
time
-
-
Constructor Details
-
GitBlameConsumer
-
-
Method Details
-
consumeLine
-
getLines
-