NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opening Neogit: bisect.lua:91: Attempt to index local 'oid' (a nil value)

fnune opened this issue · comments

Description

image

...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...sh
are/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...cal/share/nvim/lazy/neogit/lua/neogit/lib/git/bisect.lua:91: attempt to index local 'oid' (a nil value)
stack traceback:
^I[C]: in function 'error'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'cb'
^I...sto/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:278: in function <...sto/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:244>
Press ENTER or type command to continue

I get this when opening Neogit for the first time.

If I do it again, Neogit succeeds in rendering partially:

image

(note that there's no commit history)

Sometimes, Neogit succeeds in rendering completely, but only after a second attempt:

image

Neovim version

~/.home.nix => nvim --version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1693350652
Run "nvim -V1 -v" for more info

Operating system and version

~/.home.nix => uname -a Linux feanor 6.8.10 #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 10:15:12 UTC 2024 x86_64 GNU/Linux

Steps to reproduce

  • Open Neogit
  • Open Neogit a second time

Expected behavior

No response

Actual behavior

Partial rendering, have to restart

Minimal config

-

See #1308 (comment)

Sorry about the noise: this seems to have healed itself.