Replies: 1 comment 1 reply
-
Sh256 support is not widespread as you have noticed. If that's important to you, you could take a look at contributing that to gitoxide. Otherwise a more pragmatic solution is to use sha256. We will not switch git implementation (even if git2 did support it). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
In a git repository that uses SHA256 object format, the gutter in helix does not indicate additions/changes/deletions as it normally does, and resetting diff patches does not work with helix indicating that Diff is not available in the buffer.
It seems that gix does not support SHA256 yet which is the most likely explanation of the problem. It causes a similar issue in starship where the prompt does not show the git related informations. It also means that there might be other problems in such repositories that I haven't yet noticed. I don't have an exhaustive view of all the ways helix relies on git, but at least ignored files are still ignored properly.
Possible solutions would be:
Reproduction Steps
A simple way to replicate the issue:
Then compare editing
file.txt
in each test repository by adding / changing / removing lines and see that the gutter shows nothing in the test-sha256 repository.Helix log
Platform
Linux
Terminal Emulator
kitty
Installation Method
Official extra/helix package in arch linux repositories
Helix Version
helix 24.7
Beta Was this translation helpful? Give feedback.
All reactions