Skip to content

StatusOpts

StatusOpts = object

Defined in: src/core/repo.ts:204

Options for git status

Properties

aheadBehind?

optional aheadBehind: boolean

Defined in: src/core/repo.ts:217

Compute ahead/behind counts for the branch


findRenames?

optional findRenames: boolean | number

Defined in: src/core/repo.ts:227

Detect renames (optionally with similarity threshold)


ignored?

optional ignored: "traditional" | "no" | "matching"

Defined in: src/core/repo.ts:221

How to show ignored files


ignoreSubmodules?

optional ignoreSubmodules: "none" | "untracked" | "dirty" | "all"

Defined in: src/core/repo.ts:223

How to handle submodules


noRenames?

optional noRenames: boolean

Defined in: src/core/repo.ts:225

Do not detect renames


nullTerminated?

optional nullTerminated: boolean

Defined in: src/core/repo.ts:219

Use NUL as line terminator


porcelain?

optional porcelain: 1 | 2

Defined in: src/core/repo.ts:207

Porcelain output format version (1 or 2)


showStash?

optional showStash: boolean

Defined in: src/core/repo.ts:215

Show stash information


untracked?

optional untracked: "no" | "normal" | "all"

Defined in: src/core/repo.ts:209

How to show untracked files


verbose?

optional verbose: boolean

Defined in: src/core/repo.ts:213

Give the output in verbose format