-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Zed Not Recognizing Git Extension in Subfolders #8275
Comments
waaldev
added
admin read
Pending admin review
bug
[core label]
triage
Maintainer needs to classify the issue
labels
Feb 23, 2024
Hey! To clarify: do you mean submodules? Can you give us some steps to reproduce? |
Hi. No. Here are the steps to reproduce:
|
Ah, got it. Yeah, right now Zed expects the root folder that you open to be the one containing |
JosephTLyons
added
git
Git integration feedback
and removed
triage
Maintainer needs to classify the issue
admin read
Pending admin review
labels
Feb 23, 2024
Yeah stuck between a rock and a hard place on this one:
This leaves me choosing between having either Git integration working, or the LSP. 😖 |
4 tasks
osiewicz
pushed a commit
to RemcoSmitsDev/zed
that referenced
this issue
May 18, 2024
…tries#11550) TODOs: - [x] Add assertions to the test to ensure that the git status is propagated - [x] Get collaboration working - [x] Test opening a git repository inside another git repository - [x] Test opening the sub-folder of a repository that itself contains another git repository in a subfolder Fixes: - Fixes zed-industries#10154 - Fixes zed-industries#8418 - Fixes zed-industries#8275 - Fixes zed-industries#7816 - Fixes zed-industries#6762 - Fixes zed-industries#4419 - Fixes zed-industries#4672 - Fixes zed-industries#5161 Release Notes: - Added support for opening subfolders of git repositories and treating them as part of a repository (show git status in project panel, show git diff in gutter, git blame works, ...) ([zed-industries#4672](zed-industries#4672)). Demo video: https://github.com/zed-industries/zed/assets/1185253/afc1cdc3-372c-404e-99ea-15708589251c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check for existing issues
Describe the bug / provide steps to reproduce it
When using Zed editor in a mono repository, I’ve noticed that it doesn’t consistently recognize Git extensions when working within subfolders. Specifically:
When I open the main folder, Git integration works as expected.
However, when I open a subfolder, Zed fails to recognize the Git status.
This behavior makes it challenging to work efficiently in mono repos where subfolders are common. I’d appreciate any insights or solutions to address this issue.
Environment
Zed: v0.123.3 (Zed)
OS: macOS 14.2.1
Memory: 8 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.No response
The text was updated successfully, but these errors were encountered: