Closed LamprosPitsillos closed 1 month ago
Your reproduction steps seem to be missing details about how you actually produced the conflict. I tried the following and wasn't able to reproduce:
In shell:
git clone git@github.com:LamprosPitsillos/neovim.git lampros-nvim
cd lampros-nvim
git checkout -b ve_buf_set_text origin/ve_buf_set_text
git remote add upstream git@github.com:neovim/neovim.git
git remote update upstream
git rebase upstream/master
# This leads to a merge conflict in `src/nvim/api/buffer.c`
nvim --clean -n -i NONE -u mini.lua -c DiffviewOpen
# Works fine.
The error is also very strange E1510: Value too large
. The help page for this error seems to suggest this has something to do with an invalid [count]
or [range]
, which seems very strange to me. I also see that you're running on a dev build; have you tried reproducing the issue on a stable release of nvim?
It seems that i was using an OLD dev build by accident , updating to the latest nightly solved the issue .
Sorry for the trouble and wasting your time
Description
I get the above error when opening DIffview on a rebase
Expected behavior
For the diffview to open and resolve as usual
Actual behavior
+
Steps to reproduce
1) clone master 2) switch to branch ve_buf_set_text 3)
git rebase master
3) nvim --clean -u mini.lua 4)DiffviewOpen
5) error appearsHealth check
Output of
``` diffview: require("diffview.health").check() Checking plugin dependencies ~ - OK nvim-web-devicons installed. Checking VCS tools ~ - The plugin requires at least one of the supported VCS tools to be valid. - OK Git found. - OK Git is up-to-date. (2.44.0) - WARNING Configured `hg_cmd` is not executable: 'hg' ```:checkhealth diffview
Log info
Relevant info from
``` [INFO 2024-01-09 11:14:52.645 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [ERROR 2024-01-09 11:14:53.914 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:329: Job exited with a non-zero exit code: 1 [ERROR 2024-01-09 11:14:53.914 +0200] ...azy/diffview.nvim/lua/diffview/vcs/adapters/git/init.lua:328: [job-info] Exit code: 1 [ERROR 2024-01-09 11:14:53.914 +0200] ...azy/diffview.nvim/lua/diffview/vcs/adapters/git/init.lua:328: [cmd] git 'merge-base' 'HEAD' 'REBASE_HEAD' [ERROR 2024-01-09 11:14:53.914 +0200] ...azy/diffview.nvim/lua/diffview/vcs/adapters/git/init.lua:328: [cwd] /home/inferno/docs/Programming/NEOVIM/neovim [INFO 2024-01-09 13:05:32.238 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-01-09 13:05:32.550 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 1 files successfully (166.446 ms) [INFO 2024-01-09 13:06:59.868 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 1 files successfully (197.154 ms) [INFO 2024-01-09 13:56:53.351 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-01-09 13:56:53.661 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 2 files successfully (155.795 ms) [INFO 2024-01-13 25:40:15.873 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-01-13 25:40:16.264 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 18 files successfully (179.916 ms) [INFO 2024-01-13 03:16:51.695 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-01-13 03:16:52.010 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 22 files successfully (139.934 ms) [INFO 2024-02-06 20:11:34.857 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-02-06 20:11:35.211 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 9 files successfully (151.322 ms) [INFO 2024-03-01 11:23:48.947 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-03-01 11:23:49.174 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 4 files successfully (109.389 ms) [INFO 2024-03-01 11:24:55.693 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 4 files successfully (199.081 ms) [INFO 2024-03-11 20:23:21.483 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-03-11 20:23:21.713 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 19 files successfully (95.819 ms) [INFO 2024-03-27 10:19:45.626 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-03-27 10:19:46.717 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 0 files successfully (831.923 ms) [INFO 2024-03-27 11:13:16.494 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/lib.lua:24: [command call] :DiffviewOpen [INFO 2024-03-27 11:13:17.712 +0200] ...iffview.nvim/lua/diffview/scene/views/diff/diff_view.lua:483: [DiffView] Completed update for 2 files successfully (1026.485 ms) [ERROR 2024-03-27 11:13:17.745 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:329: Job expected output, but returned nothing! Code: 128 [ERROR 2024-03-27 11:13:17.745 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [job-info] Exit code: 128 [ERROR 2024-03-27 11:13:17.745 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cmd] git 'show' ':2:pkgs/by-name/ti/tinymist/package.nix' [ERROR 2024-03-27 11:13:17.745 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cwd] /home/inferno/docs/Programming/NIX/nixpkgs [ERROR 2024-03-27 11:13:17.745 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [stderr] fatal: path 'pkgs/by-name/ti/tinymist/package.nix' is in the index, but not at stage 2 hint: Did you mean ':1:pkgs/by-name/ti/tinymist/package.nix'? [WARN 2024-03-27 11:13:17.746 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:381: (1/2) Retrying job... [ERROR 2024-03-27 11:13:17.781 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:329: Job expected output, but returned nothing! Code: 128 [ERROR 2024-03-27 11:13:17.781 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [job-info] Exit code: 128 [ERROR 2024-03-27 11:13:17.781 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cmd] git 'show' ':2:pkgs/by-name/ti/tinymist/package.nix' [ERROR 2024-03-27 11:13:17.781 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cwd] /home/inferno/docs/Programming/NIX/nixpkgs [ERROR 2024-03-27 11:13:17.781 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [stderr] fatal: path 'pkgs/by-name/ti/tinymist/package.nix' is in the index, but not at stage 2 hint: Did you mean ':1:pkgs/by-name/ti/tinymist/package.nix'? [WARN 2024-03-27 11:13:17.782 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:381: (2/2) Retrying job... [ERROR 2024-03-27 11:13:17.816 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:329: Job expected output, but returned nothing! Code: 128 [ERROR 2024-03-27 11:13:17.816 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [job-info] Exit code: 128 [ERROR 2024-03-27 11:13:17.816 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cmd] git 'show' ':2:pkgs/by-name/ti/tinymist/package.nix' [ERROR 2024-03-27 11:13:17.816 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [cwd] /home/inferno/docs/Programming/NIX/nixpkgs [ERROR 2024-03-27 11:13:17.816 +0200] ...are/nvim/lazy/diffview.nvim/lua/diffview/vcs/adapter.lua:343: [stderr] fatal: path 'pkgs/by-name/ti/tinymist/package.nix' is in the index, but not at stage 2 hint: Did you mean ':1:pkgs/by-name/ti/tinymist/package.nix'? [ERROR 2024-03-27 11:13:17.817 +0200] ...local/share/nvim/lazy/diffview.nvim/lua/diffview/job.lua:337: All retries failed! [ERROR 2024-03-27 11:13:17.818 +0200] ...re/nvim/lazy/diffview.nvim/lua/diffview/scene/window.lua:106: ...cal/share/nvim/lazy/diffview.nvim/lua/diffview/async.lua:187: The coroutine failed with this message: context: cur_thread=:DiffviewLog
Neovim version
Operating system and version
Linux 6.6.30 x86_64 GNU/Linux - NixOs
Minimal config