feat(git): add status view as window with URI buffers

This commit is contained in:
2026-05-06 01:58:59 +02:00
parent 40703c6db1
commit 331a4e7662
3 changed files with 221 additions and 40 deletions
+1 -4
View File
@@ -56,10 +56,7 @@ function Repo:_fetch_status()
{ cwd = self.worktree, text = true },
vim.schedule_wrap(function(obj)
if obj.code ~= 0 then
util.error(
"git status failed: %s",
vim.trim(obj.stderr or "")
)
util.error("git status failed: %s", vim.trim(obj.stderr or ""))
return
end
self.status = status.parse(obj.stdout or "")