fix(tui): gated git status line work

Added a git.enabled setting and skipped footer/status-line git probes when integration is disabled or no git-backed status segment is rendered.

Fixes #2847
This commit is contained in:
roboomp
2026-06-17 12:24:18 +02:00
committed by can1357
parent e911e9da71
commit 944b9ea73f
5 changed files with 110 additions and 5 deletions
@@ -415,6 +415,16 @@ export const SETTINGS_SCHEMA = {
},
},
shellPath: { type: "string", default: undefined },
"git.enabled": {
type: "boolean",
default: true,
ui: {
tab: "interaction",
group: "Git",
label: "Enable Git Integration",
description: "Show git branch, status, and PR information in the TUI and watch repository metadata.",
},
},
extensions: { type: "array", default: EMPTY_STRING_ARRAY },