-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Git status indicators not working with reftable storage backend #46747
Copy link
Copy link
Labels
area:integrations/gitGit integration feedbackGit integration feedbackfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Metadata
Metadata
Assignees
Labels
area:integrations/gitGit integration feedbackGit integration feedbackfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
StatusShow more project fields
No status
Git status indicators not working with reftable storage backend
Summary
Git status indicators (file colors in project panel, gutter diff markers, branch name) do not appear when opening repositories that use Git's
reftablereference storage format (extensions.refstorage=reftable).This is a regression report / reopen request for #14414, which was closed on Dec 26, 2025 but the issue persists in Zed 0.218.7.
Environment
Steps to Reproduce
Expected Behavior
test.txtshould be highlighted in the project panelActual Behavior
Potential Cause
Zed uses
libgit2(via thegit2Rust crate) for git operations. libgit2 does not yet support the reftable format. See: libgit2/libgit2#7117Workaround Suggestion
As mentioned in #14414 comments, a potential workaround would be to shell out to the
gitCLI for repositories where libgit2 fails to initialize, falling back gracefully until libgit2 gains reftable support.Impact
This affects users of:
--ref-format=reftableinit.defaultRefFormat=reftableRelated Issues