feat(git): case-insensitive status lookup on ignorecase repos

This commit is contained in:
2026-05-19 10:31:41 +02:00
parent 50db85ea5f
commit 085216a406
3 changed files with 63 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ end
---@param r ow.Git.Repo
---@param rel string
local function set_status(buf, r, rel)
local entry = r.status.entries[rel]
local entry = r:status_entry_for(rel)
vim.b[buf].git_status = { head = r:head(), entry = entry }
vim.b[buf].git_status_string = render(entry)
end