test(git): speed up the hunks test setup with a flush hook

This commit is contained in:
2026-05-20 07:56:07 +02:00
parent 4c8b3f0d3e
commit e050896dc0
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -399,6 +399,11 @@ end
local schedule, sched_handle = util.keyed_debounce(recompute, 100)
---@param buf integer
function M._flush(buf)
sched_handle.flush(buf)
end
---@param buf integer
function M.attach(buf)
if states[buf] then