Repository navigation
Labels
area:integrations/gitGit integration feedbackGit integration feedbackreach:many usersBugs 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 usageseverity:S2Average run-of-the-mill bugs; a feature is broken but only partiallyAverage run-of-the-mill bugs; a feature is broken but only partiallystate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Description
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 reftable reference 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
- Zed version: 0.218.7
- OS: macOS (Darwin 25.2.0)
- Git version: 2.x with reftable support
Steps to Reproduce
# Create a test repo with reftable format
mkdir zed-reftable-test && cd zed-reftable-test
git init --ref-format=reftable
git config user.email "[email protected]"
git config user.name "Test"
echo "hello" > test.txt
git add . && git commit -m "Initial"
echo "modified" >> test.txt
# Open in Zed
zed .Expected Behavior
- Branch name should appear in the git panel
test.txtshould be highlighted in the project panel
Actual Behavior
- No branch name displayed
- No file status colors in project panel
Potential Cause
Zed uses libgit2 (via the git2 Rust crate) for git operations. libgit2 does not yet support the reftable format. See: libgit2/libgit2#7117
Workaround Suggestion
As mentioned in #14414 comments, a potential workaround would be to shell out to the git CLI for repositories where libgit2 fails to initialize, falling back gracefully until libgit2 gains reftable support.
Impact
This affects users of:
- Large monorepos that use reftable for performance (reftable is faster for repos with many refs)
- Any repository cloned with
--ref-format=reftable - Repositories where git is configured with
init.defaultRefFormat=reftable
Related Issues
- [Git 2.45] Reftable storage backend is not supported #14414 (original reftable issue, closed without fix)
- Reftables support libgit2/libgit2#7117 (reftable support PR)
Reacted by mick-biotonix, Kentaro Suzuki, florian-lackner365 and Robert Attard
Metadata
Metadata
Assignees
Labels
area:integrations/gitGit integration feedbackGit integration feedbackreach:many usersBugs 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 usageseverity:S2Average run-of-the-mill bugs; a feature is broken but only partiallyAverage run-of-the-mill bugs; a feature is broken but only partiallystate:needs reproNeeds reproduction steps and/or someone to reproduceNeeds reproduction steps and/or someone to reproduce
Type
Projects
- StatusShow more project fieldsNo status
Activity
miguelraz commentedon Jan 14, 2026
Thanks for the report!
The reason the original issue you linked was closed is that it was a feature request, and those are now handled in this repository as GitHub Discussions.
Would you mind closing and moving over to the Discussion?
Remove git2 (libgit2) dependency (zed-industries#53453)
Remove git2 (libgit2) dependency (zed-industries#53453)
Remove git2 (libgit2) dependency (zed-industries#53453)
Remove git2 (libgit2) dependency (zed-industries#53453)