feat(git_status): add variables to track worktree and index changes (#5655)

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
Matthew Warman
2026-01-04 16:58:10 +00:00
committed by GitHub
parent 7c824e41ec
commit 0110bf59c8
4 changed files with 469 additions and 61 deletions
+40
View File
@@ -682,6 +682,14 @@
"staged": "+",
"untracked": "?",
"typechanged": "",
"worktree_added": "",
"worktree_deleted": "",
"worktree_modified": "",
"worktree_typechanged": "",
"index_added": "",
"index_deleted": "",
"index_modified": "",
"index_typechanged": "",
"ignore_submodules": false,
"disabled": false,
"use_git_executable": false
@@ -3575,6 +3583,38 @@
"type": "string",
"default": ""
},
"worktree_added": {
"type": "string",
"default": ""
},
"worktree_deleted": {
"type": "string",
"default": ""
},
"worktree_modified": {
"type": "string",
"default": ""
},
"worktree_typechanged": {
"type": "string",
"default": ""
},
"index_added": {
"type": "string",
"default": ""
},
"index_deleted": {
"type": "string",
"default": ""
},
"index_modified": {
"type": "string",
"default": ""
},
"index_typechanged": {
"type": "string",
"default": ""
},
"ignore_submodules": {
"type": "boolean",
"default": false