public interface GitMergeBuilderSupport<B extends GitMergeBuilderSupport<B>> extends GitCommandBuilderSupport<B>
git merge, supplying properties which are common to all
usages of the command.ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME| Modifier and Type | Method and Description |
|---|---|
GitCommand<Void> |
build()
Builds a
command which will run the configured merge, discarding any output. |
B |
commit(String value)
Specifies the commit to be merged into the
HEAD revision of the repository against which the command
is executed. |
B |
errorHandler(com.atlassian.bitbucket.scm.CommandErrorHandler value)
|
B |
ff(GitMergeFastForward value)
Sets the fast-forward mode to use when executing
git merge. |
B |
quiet(boolean value)
Sets a flag which controls the output produced by
git merge. |
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration@Nonnull GitCommand<Void> build()
command which will run the configured merge, discarding any output. If the
output contains error messages, they will be ignored.command to execute the configured merge@Nonnull B commit(String value)
HEAD revision of the repository against which the command
is executed.value - the commit to merge, which may be a short or qualified branch or tag name, or a short or full
commit hashthis@Nonnull B errorHandler(@Nonnull com.atlassian.bitbucket.scm.CommandErrorHandler value)
error handler to receive stderr output when the
built command is run.
git merge outputs the warnings to stderr, not stdout, so in order
to parse these warnings callers must register an error handler, not an output handler. Initially added
to handle warnings that describe merge conflicts of binary files.
value - the handler to receive stderr outputthis@Nonnull B ff(GitMergeFastForward value)
git merge. The modes available are documented on the
enumeration.value - the fast-forward mode to apply when performing the mergethisCopyright © 2019 Atlassian. All rights reserved.