public interface GitLogBuilder extends GitRevCoreBuilder<GitLogBuilder>
GitRevListBuilder
and GitDiffBuilder
.ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME
Modifier and Type | Method and Description |
---|---|
GitLogBuilder |
follow(boolean value)
Controls use of
--follow |
GitLogBuilder |
output(GitDiffOutput value)
Controls what diff output is included with the commit information.
|
all, boundary, branches, clearFiles, clearRevs, file, files, files, format, ignoreMissing, inputHandler, leftOnly, leftRight, limit, merges, order, parents, rev, revs, revs, rightOnly, tags, walk
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration
@Nonnull GitLogBuilder follow(boolean value)
--follow
value
- true
to continue listing the history of a file beyond renames (works only for a single file).this
@Nonnull GitLogBuilder output(@Nonnull GitDiffOutput value)
Note that, while all of these flags are supported, they may not have an effect.
--check
, for example, does not affect the output of git log
.
value
- the diff output mode for the log
commandthis
Copyright © 2019 Atlassian. All rights reserved.