Closed ptn closed 8 hours ago
Pressing "u" to unstage selected lines also does not work:
git apply --reverse --cached:error: patch failed:
filename:30 error:
filename: patch does not apply
An error occurred.
Press ENTER or type command to continue
Should be fixed here: https://github.com/NeogitOrg/neogit/pull/1411 - sorry about that
Description
In the status buffer, I cannot select specific lines in visual mode then press
x
to discard only those changes (as opposed to entire hunks or files). In previous versions, I would get a popup asking to confirm the discard, and then the discard would happen. That's not the case anymore.This is hard to bisect because I encountered other bugs while doing so that made it impossible to trigger this behavior, but I can tell you that this was definitely working on d6b80dc9. On the commit immediately after that one (93773498), opening the status buffer prints debug information and I cannot use Tab to toggle file diffs.
Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202
Operating system and version
macOS 13.4.1
Steps to reproduce
Expected behavior
Popup asks for confirmation, then lines are discarded.
Actual behavior
Neovim hangs, I actually need to press Ctrl-C to get it back. Doing that gives me this notification:
Minimal config