refactor(git): make the git module self-contained under git.util

This commit is contained in:
2026-04-28 09:05:01 +02:00
parent 4390b55dfe
commit 37e5582795
10 changed files with 195 additions and 75 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
local log = require("log")
local M = {}
local SENTINEL = "__NVIM_GIT_EDIT__"
@@ -59,7 +57,7 @@ local function build_stderr_handler(on_open)
end
local ok, err = pcall(on_open, abs_path, done)
if not ok then
log.error("git.editor on_open failed: %s", tostring(err))
util.error("git.editor on_open failed: %s", tostring(err))
done()
end
end)