refactor(git): make the git module self-contained under git.util
This commit is contained in:
+1
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user