-
-
Notifications
You must be signed in to change notification settings - Fork 237
Description
Description
I'm seeing this consistently now when I load my editor session (I'm running the latest nvim 0.9.5 and the latest gitsigns):
Error executing luv callback:
...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:85: The coroutine failed with this message: ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:123: Unexpected output:
stack traceback:
[C]: in function 'assert'
...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:123: in function '_set_version'
...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:137: in function 'git_command'
...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:401: in function 'new'
...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:840: in function 'new'
.../pack/packer/start/gitsigns.nvim/lua/gitsigns/attach.lua:290: in function 'fn'
...ack/packer/start/gitsigns.nvim/lua/gitsigns/debounce.lua:68: in function 'attach_throttled'
.../pack/packer/start/gitsigns.nvim/lua/gitsigns/attach.lua:435: in function <.../pack/packer/start/gitsigns.nvim/lua/gitsigns/attach.lua:434>
stack traceback:
[C]: in function 'error'
...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:85: in function 'cb'
...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:127: in function 'on_exit'
...acker/start/gitsigns.nvim/lua/gitsigns/system/compat.lua:256: in function <...acker/start/gitsigns.nvim/lua/gitsigns/system/compat.lua:226>
It happens every time I open my editor session. It's been happening for a while now, hope that we can fix this.
When I run git --version
on my system I get the expected output:
git version 2.25.1
and when I go into git.lua into the _set_version
function where it is failing and I hard code that, then the issue goes away.
Seems this command is flaky:
local obj = asystem({ 'git', '--version' })
seems hard to imagine that it is anything in my environment that could be causing that, given how simple the command is.
Neovim version
0.9.5
Operating system and version
Linux64 Pop!_OS 20.04
Expected behavior
no exception
Actual behavior
exception given above
Minimal config
I can provide one if needed
Steps to reproduce
I'm hoping someone can look at the error/code and determine what is going on without needing detailed steps. But if you need detailed steps I can try to provide them when I have time.
Gitsigns debug messages
No response