-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
Summary
I have a git working directory on my machine for which the git panel shows "no branch" and the recent branch selector on the top left is also not shown.
In the process of finding the cause, I've cloned the repository again into another directory where zed is able to detect the current branch and all the rest. I could continue developing with the new clone but would really like to know the root cause so that it could be fixed properly.
At first, I was writing a small program which uses the git2 crate to list all branches which worked. So I guess the library itself works fine.
Now I am trying to find the point in the zed source code where I could add some output to check where zed has an issue with my working dir. All places I found so far already return a branch which is not valid.
Sadly I am unable to upload the offending directory since it is work related.
Zed Version and System Specs
Zed: v0.193.3 (Zed) <- the last version I get compiled on my machine
OS: Linux Wayland gentoo 2.17
Memory: 30.8 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (MTL) || Intel open-source Mesa driver || Mesa 25.0.7
Metadata
Metadata
Assignees
Labels
Type
Projects
Status