NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.62k stars 218 forks source link

Fix #1380 #1381

Closed cameronr closed 2 weeks ago

cameronr commented 2 weeks ago

Fix #1380

CKolkey commented 2 weeks ago

Thanks :)

cameronr commented 2 weeks ago

Found and fixed another error: selecting "worktree" from the diff pop up gives this error:

E5108: Error executing lua: ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...re/nvim/lazy/neogit/lua/neogit/integrations/diffview.lua:165: attempt to concatenate local 'item_name' (a nil value)
stack traceback:
        [C]: in function 'error'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'callback'
        ...are/nvim/lazy/plenary.nvim/lua/plenary/async/control.lua:101: in function 'returned_function'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:31: in function 'callback_or_next'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
        ...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:118: in function 'cb'
        .../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:582: in function <.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:581>
CKolkey commented 2 weeks ago

Thanks 😅 I've gotta pull myself together and finish writing the e2e tests so this kind of stuff is caught