refactor(git): drop :Ghistory buffer in favor of :G! for full output

This commit is contained in:
2026-05-09 00:04:44 +02:00
parent 76de90f982
commit 295803779a
4 changed files with 0 additions and 89 deletions
-3
View File
@@ -1,5 +1,4 @@
local commit = require("git.commit")
local history = require("git.history")
local object = require("git.object")
local repo = require("git.repo")
local util = require("git.util")
@@ -386,13 +385,11 @@ local function run_streaming(r, args)
last_progress ~= "" and last_progress or "done",
"success"
)
history.append(args, accum)
else
emit_progress(("exit %d"):format(code), "failed")
local body = #accum > 0 and table.concat(accum, "\n")
or ("%s failed: exit %d"):format(title, code)
vim.api.nvim_echo({ { body, "ErrorMsg" } }, true, {})
history.append(args, accum)
end
end