public interface GitGcBuilder extends GitCommandBuilderSupport<GitGcBuilder>
command
for running
git gc
.ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME
Modifier and Type | Method and Description |
---|---|
GitGcBuilder |
aggressive(boolean value) |
GitGcBuilder |
auto(boolean value) |
com.atlassian.bitbucket.scm.Command<?> |
build() |
GitGcBuilder |
errorHandler(com.atlassian.bitbucket.scm.CommandErrorHandler value)
|
GitGcBuilder |
prune(boolean value) |
GitGcBuilder |
pruneOlderThan(String value) |
GitGcBuilder |
quiet(boolean value) |
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration
@Nonnull GitGcBuilder aggressive(boolean value)
@Nonnull GitGcBuilder auto(boolean value)
@Nonnull com.atlassian.bitbucket.scm.Command<?> build()
@Nonnull GitGcBuilder errorHandler(@Nonnull com.atlassian.bitbucket.scm.CommandErrorHandler value)
error handler
to receive stderr
output when the
built command
is run.
git gc
outputs some information to stderr
rather than stdout
. For example, git gc --auto
writes to stderr
to indicate that auto-packing is actually happening.
value
- the handler to receive stderr
outputthis
@Nonnull GitGcBuilder prune(boolean value)
@Nonnull GitGcBuilder pruneOlderThan(String value)
@Nonnull GitGcBuilder quiet(boolean value)
Copyright © 2019 Atlassian. All rights reserved.