diff --git a/lua/neogit/lib/git/bisect.lua b/lua/neogit/lib/git/bisect.lua index 9aa9f8f50..76136f779 100644 --- a/lua/neogit/lib/git/bisect.lua +++ b/lua/neogit/lib/git/bisect.lua @@ -94,8 +94,9 @@ M.register = function(meta) end local expected = vim.trim(git.repo:worktree_git_path("BISECT_EXPECTED_REV"):read()) - state.bisect.current = - git.log.parse(git.cli.show.format("fuller").args(expected).call({ trim = false }).stdout)[1] + state.bisect.current = git.log.parse( + git.cli.show.format("fuller").args(expected).call({ trim = false, hidden = true }).stdout + )[1] state.bisect.finished = finished end diff --git a/lua/neogit/lib/git/log.lua b/lua/neogit/lib/git/log.lua index 33075f611..a90cc5781 100644 --- a/lua/neogit/lib/git/log.lua +++ b/lua/neogit/lib/git/log.lua @@ -435,7 +435,7 @@ function M.register(meta) graph = {} end - repo_state.recent.items = util.filter_map(M.list(args, graph, {}, false), M.present_commit) + repo_state.recent.items = util.filter_map(M.list(args, graph, {}, true), M.present_commit) end end end diff --git a/lua/neogit/spinner.lua b/lua/neogit/spinner.lua index 9b6203fef..8665e8eb9 100644 --- a/lua/neogit/spinner.lua +++ b/lua/neogit/spinner.lua @@ -41,7 +41,8 @@ function Spinner:start() vim.schedule_wrap(function() self.count = self.count + 1 local step = self.pattern[(self.count % #self.pattern) + 1] - vim.cmd(string.format("echo '%s %s' | redraw", step, self.text)) + vim.api.nvim_echo({ { step .. " " .. self.text, "" } }, false, {}) + vim.cmd("redraw") end) ) end @@ -59,7 +60,8 @@ function Spinner:stop() end vim.schedule(function() - vim.cmd("redraw | echomsg ''") + vim.api.nvim_echo({ { "", "" } }, false, {}) + vim.cmd("redraw") end) end