Class GitCurrentBranchConsumer
java.lang.Object
org.apache.maven.scm.util.AbstractConsumer
org.apache.maven.scm.provider.git.gitexe.command.branch.GitCurrentBranchConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
This logger parses the output of git symbolic-ref HEAD
to determine the current branch.
-
Field Details
-
BRANCH_INDICATOR
- See Also:
-
branch
-
-
Constructor Details
-
GitCurrentBranchConsumer
Default constructor.
-
-
Method Details
-
getBranchName
-
consumeLine
-