Options
All
  • Public
  • Public/Protected
  • All
Menu

Optional configuration for the git log command.

Hierarchy

Index

Properties

branch?: string

The name of the branch to run the git log command. If not specified, then the currently active branch will be used.

maxCount?: number

Limits the number of commits. Also known as -n or `--number. If not specified, or not a positive integer, then will be ignored, and the returning list of commits will not be limited.

range?: Git.Options.Range

The Git revision range that will be used when calculating the diff.

shortSha?: boolean

Decides whether the commit hash should be the abbreviated version.

uri?: string

The URI of the resource in the repository to get the diff. Can be an individual file or a directory.