public interface GitFormatPatchBuilder extends GitCommandBuilderSupport<GitFormatPatchBuilder>
command
for running git format-patch
.ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME
Modifier and Type | Method and Description |
---|---|
GitFormatPatchBuilder |
allAncestors(boolean value) |
GitFormatPatchBuilder |
ancestor(String value)
Specifies the ancestor for the patch.
|
GitFormatPatchBuilder |
rev(String value)
Specifies the rev for the patch.
|
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration
@Nonnull GitFormatPatchBuilder allAncestors(boolean value)
value
- indicates whether or not to generate a patch which includes all ancestors of rev
. If true
then the value provided by ancestor
is ignored.this
@Nonnull GitFormatPatchBuilder ancestor(@Nullable String value)
allAncestors
is false.
If this method isn't called, the patch will represent one single commit, the rev
.value
- the ancestorthis
@Nonnull GitFormatPatchBuilder rev(@Nonnull String value)
value
- the revthis
Copyright © 2019 Atlassian. All rights reserved.