Closed hboetes closed 1 year ago
same bug
It's being tracked in https://github.com/jesseduffield/lazygit/issues/3015, along with the PR #3017, thanks for the workaround!
Here is a slightly expanded workaround. The original will cd into the sym linked folder and stay there. We also need to exit with error if the cd fails, so as to not operate on the wrong folder;
function lg {
cd "$(readlink -f .)" || exit
lazygit "$@"
cd - || exit
}
Describe the bug With the current release going into the git repo via a symlink fails. This used to work fine.
To Reproduce
And lazygit works as expected. Using a helper script like this:
works around the issue.