-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when the current directory is a symlink to a directory in a GIT repo #3015
Comments
We have a function Would you be up to the challenge of raising a PR for this @chmouel ? |
sure @jesseduffield will send the pr :) |
I'm seeing the same issue. Thanks for looking at this. 🙇🏻 |
What caused this regression ? |
This issue is also fixed by PR #3183. For clarity, I assumed that there's some minor mistakes in the repro instructions which otherwise don't make sense as written. The command sequence:
should instead be:
|
This is a test that covers jesseduffield#3144 and its dupe jesseduffield#3015, where lazygit is run from a symlink outside of a repo into a subdirectory of that repo.
Describe the bug
Crash when the current directory is a symlink to a directory in a GIT repo
To Reproduce
Expected behavior
no crash or at least a error message maybe :)
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
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.0
Additional context
arch package fwiw
Note: please try updating to the latest version or manually building the latest
master
to see if the issue still occurs.The text was updated successfully, but these errors were encountered: