refactor(git): rename stage_hunk to toggle_stage
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user