refactor(git): rename stage_hunk to toggle_stage

This commit is contained in:
2026-05-20 13:19:01 +02:00
parent 1a582045f6
commit 942dbdcaa0
4 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ local function apply_patch(state, buf, patch, zero_context)
end
---@param buf? integer
function M.stage_hunk(buf)
function M.toggle_stage(buf)
buf = resolve_buf(buf)
local state = states[buf]
if not state then