You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submodules and worktrees don't work correctly because I think I'm not passing the right directory to the invocation of lazygit. The detection of the "directory" to be passed as a command line argument to lazygit needs to be updated. I'll look into this when I get the chance, but I'm a little swamped with a few other things at the moment, so not when exactly when that is going to happen.
Description
I recently switched over to using git worktrees instead fo branches and lazygit from inside of nvim won't load.
clone a repo using the --bare option
cd into repo dir
open a file.
launch lazygit
2021/10/28 21:43:38 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues
*fs.PathError stat /Users/markhuggins/dev/work/mosaic5.git/tearsheets-canary/.git/: not a directory
/home/runner/work/lazygit/lazygit/pkg/utils/errors.go:13 (0x159bbcb)
/home/runner/work/lazygit/lazygit/pkg/commands/git.go:113 (0x159bb9a)
/home/runner/work/lazygit/lazygit/pkg/commands/git.go:57 (0x159b319)
/home/runner/work/lazygit/lazygit/pkg/app/app.go:125 (0x164a885)
/home/runner/work/lazygit/lazygit/main.go:124 (0x164cafd)
/opt/hostedtoolcache/go/1.16.7/x64/src/runtime/proc.go:225 (0x10383b6)
/opt/hostedtoolcache/go/1.16.7/x64/src/runtime/asm_amd64.s:1371 (0x106c161)
Expected behavior
lazygit loads correctly
Desktop (please complete the following information):
NVIM v0.5.0
Build type: Release
The text was updated successfully, but these errors were encountered: