Interface GitLogBuilder

All Superinterfaces:
com.atlassian.bitbucket.scm.CommandBuilderSupport<GitLogBuilder>, GitCommandBuilderSupport<GitLogBuilder>, GitRevCoreBuilder<GitLogBuilder>

public interface GitLogBuilder extends GitRevCoreBuilder<GitLogBuilder>
Currently a minimal API for getting logs beyond renaming. May be expanded in the future to offer the union of options of GitRevListBuilder and GitDiffBuilder.
Since:
4.5
  • Method Details

    • follow

      @Nonnull GitLogBuilder follow(boolean value)
      Controls use of --follow
      Parameters:
      value - true to continue listing the history of a file beyond renames (works only for a single file).
      Returns:
      this
    • output

      @Nonnull GitLogBuilder output(@Nonnull GitDiffOutput value)
      Controls what diff output is included with the commit information.

      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.

      Parameters:
      value - the diff output mode for the log command
      Returns:
      this