Skip to content

Commit

Permalink
fix(actions): fix git_reset
Browse files Browse the repository at this point in the history
  • Loading branch information
iovis authored and ibhagwan committed Aug 18, 2024
1 parent 0d1b399 commit 30fa904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ M.git_stage_unstage = function(selected, opts)
end

M.git_reset = function(selected, opts)
if vim.fn.confim("Reset " .. #selected .. " file(s)?", "&Yes\n&No") == 1 then
if vim.fn.confirm("Reset " .. #selected .. " file(s)?", "&Yes\n&No") == 1 then
for _, s in ipairs(selected) do
s = utils.strip_ansi_coloring(s)
local is_untracked = s:sub(5, 5) == "?"
Expand Down

0 comments on commit 30fa904

Please sign in to comment.