[Git 2.45] Reftable storage backend is not supported #45702
Replies: 11 comments
-
|
For an example of implementation, it has been resolved recently on VSCode side through this PR: https://github.com/microsoft/vscode/pull/224395/files |
Beta Was this translation helpful? Give feedback.
-
|
Hi there! 👋 |
Beta Was this translation helpful? Give feedback.
-
|
This issue is not really a bug, more an improvement in my opinion. It has been added to VSCode a few releases ago: |
Beta Was this translation helpful? Give feedback.
-
|
Hi there! 👋 |
Beta Was this translation helpful? Give feedback.
-
|
The issue is still present with the latest version of Zed. |
Beta Was this translation helpful? Give feedback.
-
|
This would be awesome as right now git ops built into Zed don't work for reftable enabled repos.. |
Beta Was this translation helpful? Give feedback.
-
|
Just some notes in case they are useful: the Git project, hosting the reftables C implementation which is licensed in a usable way, started working on a Rust port. The license will be just as permissive, and the Rust crate, despite being built as 1:1 port, can then be much more easily be used from Rust projects.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks @Byron, it means that projects like |
Beta Was this translation helpful? Give feedback.
-
|
i wonder if it would be possible to have a (non-ideal) adapter that just shells out to git for diffs, etc? that way, zed stays usable even if libgit2 is missing a feature |
Beta Was this translation helpful? Give feedback.
-
|
This is still a problem in Zed 0.217.3 stable... |
Beta Was this translation helpful? Give feedback.
-
|
Hello, it looks like the PR for reftable support in libgit2 has just been merged. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check for existing issues
Describe the bug / provide steps to reproduce it
Git 2.45 is needed to reproduce this bug, since it makes use of the new reference storage backend "reftable".
Just clone a git repository with reftable used:
Then open the new directory using Zed. Git information (ie: the git branch) is not displayed:
Environment
Zed: v0.144.0 (Zed Preview)
OS: macOS 14.5.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Cloning without reftable, of course, displays the Git information correctly:
If applicable, attach your Zed.log file to this issue.
Zed.log
Beta Was this translation helpful? Give feedback.
All reactions