feat(git): add status view as window with URI buffers
This commit is contained in:
+1
-4
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user