Open smitropoulos opened 11 months ago
This issue is also fixed by PR #3183, which delegates pathfinding to git over lazygit's partial implementation. Testing on that branch indicates that this case works correctly. e.g. when in the symlinked directory, lazygit will either prompt to create a git repo (if the symlinked realpath is not under git) or show the symlinked repo (if the realpath is under git).
Describe the bug I have my scripts under git. My dotfiles install script places the scripts under ~/scripts Trying to open LazyGit when in ~/scripts results in an error like below
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected to follow the symlink back, a dir which is under git.
Version info: ❯ lazygit --version commit=v0.40.2, build date=2023-08-12T17:47:33Z, build source=binaryRelease, version=0.40.2, os=linux, arch=amd64, git version=2.42.1
❯ git --version git version 2.42.1
Additional context Running the logs I get