zed
zed copied to clipboard
Zed does not show git status and git diff when launched from a subfolder
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
If you launch zed from a subfolder inside a git repo, then all the git markings do not appear.
Thus, you can no longer see the git diff
s or any of the other things such as what file has been modified (in the project panel), or the name of the branch (in the top bar) and so on.
These things are visible only if you launch zed from the root of the repo where .git
resides basically. But I think it would make sense for this to not be the case
Environment
Zed: v0.129.1 (Zed) OS: macOS 14.3.1 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
The same file, if I launch from the root of the repo, it works.
If applicable, attach your ~/Library/Logs/Zed/Zed.log
file to this issue.
No response
@JosephTLyons I'm trying to pick this as my first contribution. Can someone point me where to look at. I can basically see that the path is not considered if there isn't a .git file in the opened folder root.
Addressed by #11550