Skip to content

Commit 0bb34b5

Browse files
authored
Merge pull request #888 from star-szr/887-unstage-random-test-fail
test: fix random test fail in status spec
2 parents d3fbf8b + b89ef39 commit 0bb34b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/neogit/status.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,8 @@ local stage = function()
879879
end
880880

881881
local unstage = function()
882+
M.current_operation = "unstage"
883+
882884
local selection = M.get_selection()
883885
local mode = vim.api.nvim_get_mode()
884886

0 commit comments

Comments
 (0)