fix(git): small bug fixes

This commit is contained in:
2026-04-27 13:34:18 +02:00
parent 6e0e05ae56
commit 50697cfe98
2 changed files with 15 additions and 5 deletions
+4
View File
@@ -311,6 +311,10 @@ local function render(bufnr, branch, groups)
})
end
state[bufnr].lines = meta
-- The diff windows we last opened may now be showing content for an
-- entry whose underlying file has changed. Drop the cache so the next
-- show_diff recomputes pre/post panes instead of short-circuiting.
state[bufnr].last_shown_key = nil
end
---@param bufnr integer