Error when trying to diff a file when a patch was applied
duarm opened this issue · comments
Description
Cloned dwm and tried to apply a patch, a conflict occurred and I ran :VGit buffer_diff_preview
to check what changed and fix the conflict, and the following error occurred.
[VGit] fatal: ambiguous argument ':./dwm.c': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Steps:
- $ git apply -3 patch.diff`
- Conflict occured.
- $ nvim dwm.c
- run
:VGit buffer_diff_preview
Info
- nvim --version output: NVIM v0.9.0-dev-492+g224473546c
- Operating system: Artix
Same issue here sometimes with any vgit command. Also noticed that the gutter signs aren't displayed when it occurs.
Exact same issue including the gutter only updating when the file is reopened.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.