-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Git blame fails when using git-repo for code management #20008
Comments
What happens when you run Lines 85 to 90 in 0cb056c
Here's where that is failing: Lines 120 to 127 in 0cb056c
Could you enumerate the steps necessary to go from a couple empty directories to having the symlinks to git repos necessary to trigger this bug so I can test/reproduce? |
git blame works well when I run git blame xxx in the terminal. Steps to reproduce this issue:
|
in this way, the |
Hi there! 👋 |
This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue. |
Check for existing issues
Describe the bug / provide steps to reproduce it
I use git-repo to manage multiple git repositories, the .git in the source code is a soft link to the .repo/projects/xxx.git, Zed cannot handle this situation when I use git blame, it will show the error message "Failed to blame "xxx.cpp": git blame process failed: fatal: not a git repository (or any for the parent direcotries): .git".

Environment
Zed: v0.159.5
OS: macOS 14.5
Memory: 18 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: