Comments (4)
Yes, I agree! I will see to add support for whatever that is - it's not pack V3 I think as that would fail gracefully elsewhere. It's surprising that older Git can handle this in a fashion that doesn't involve dying.
from helix.
Is there anything special about the git repository used in this project? From the backtrace it looks like gitoxide is having trouble parsing some of the git data
from helix.
CC @Byron
I think this is related to the sha-256 transisition. Maybe some new git versions now generate v3 pack files? It would be nice to support them but if gix can't do that for now not panicking and just emitting an error would be good.
from helix.
I have looked into this and couldn't find evidence of a new pack-entry type in the Git codebase.
It also looks like that Git will never write packs that aren't V2 - initially I thought it might write V3 based on some other criteria.
It seems what Git would do in this case is to mark the object as bad and fail to decode it. Now gitoxide
will fail gracefully here, but it will probably mean that some operations that rely on this object will fail, but it's better than panicking.
from helix.
Related Issues (20)
- Three quote HOT 1
- Support .swiftinterface files HOT 2
- Writes are interrupted when suspending HOT 5
- Improve :o/:open path ordering
- The diagnosis and code are intermingled HOT 2
- progressive-increments-over-multiple-selections HOT 1
- Could not parse queries for language "rust"
- Soft wrap with relative line numbers breaks line movements. HOT 3
- Selecting a line in completion pop-up doesn't import elements anymore HOT 1
- The goto definition is not working as expected.ใclangd HOT 1
- Scala metals lsp not loading in Helix HOT 2
- Inlay hints broken with Zig errors HOT 2
- LSP fail to auto-complete the import HOT 5
- swap highlight query order HOT 1
- rebind mouse interactions
- Sign Release Files for Verification?
- Add nixfmt as default formatter for nix HOT 3
- LSP: Default golangci-lint config not working HOT 6
- Diagnostics
- Helix + pyright + kitty has wrong working directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.